1.

Explain manipulators. 

Answer»

1.  A manipulator in C++ is used to control the formatting of output and/or input values.

2. Manipulators can only be present in Input/Output statements. The ‘end!’ manipulator causes a newline character to be output.

3.  ‘end1’ is defined in the header file and can be used as long as the header file has been included.



Discussion

No Comment Found

Related InterviewSolutions