What are manipulators?

34. What are manipulators?

  1. Manipulators are used to specify a character that is used to fill the unused portion of the field
  2. Manipulators are used to clear the flags specified
  3. Manipulators are special functions that can be included in the I/O statements to alter the format parameters of a stream
  4. 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.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.