A manipulator is a C++ is used to control the formatting of output and/or input values. Manipulators can only be present in input/output statements. The end1 manipulator causes a newline character to be output. end1 is defined in the header file and can be used as long as the header file has been included.