Home »
MCQs »
OOPs MCQs
What are manipulators?
34. What are manipulators?
- Manipulators are used to specify a character that is used to fill the unused portion of the field
- Manipulators are used to clear the flags specified
- Manipulators are special functions that can be included in the I/O statements to alter the format parameters of a stream
- Manipulators contain large numbers of member functions
Answer: C) Manipulators are special functions that can be included in the I/O statements to alter the format parameters of a stream
Explanation:
Manipulators are special functions that can be included in the I/O statements to alter the format parameters of a stream. We use iomanip to access manipulators.