What is manipulator in c++ | Sololearn: Learn to code for FREE!

0

What is manipulator in c++

9/22/2019 9:06:41 AM

Amit Mehra

1 Answer

New Answer

0

Manipulators are operators used in C++ for formatting output. The data is manipulated by the programmer's choice of display. Some are 1. Endl manipulator It breaks the line and send output of program to next line 2. Setw manipulator This manipulator sets the minimum field width on output 3. Setfill manipulator This is used by the setw manipulator. If a value does not entirely fill a field, then the character specified in the setfill argument of the manipulator is used for filling the fields Hope you get your answer.