Computer Science - Object Oriented Programming Using C++ - Discussion

Discussion Forum : Object Oriented Programming Using C++ - Section 1 (Q.No. 9)
9.
A function that changes the state of the cout object is called a(n) _____
member
adjuster
manipulator
operator
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
9 comments Page 1 of 1.

Vinay said:   1 decade ago
What is manipulator?

Arun said:   1 decade ago
Manipulators are functions specifically designed to be used in conjunction with the insertion (<<) and extraction (>>) operators on stream objects, for example:

cout << boolalpha;
(1)

Evangelin said:   1 decade ago
Thank You, its useful for me.

Suhasini said:   1 decade ago
Manipulator is function. Right? then it should end with pair of round brackets.

Pavi said:   1 decade ago
No not need of round brackets just we want shift operator.

Srish said:   10 years ago
What are they meaning in "the state " of cout object?

Sooraj said:   8 years ago
What is manipulator?

Surya said:   7 years ago
endl is a manipulator;
(1)

RKant said:   3 years ago
You are right @Arun.

Manipulators are functions specifically designed to be used in conjunction with the insertion (<<) and extraction (>>) operators on stream objects.

setw is a manipulator function.

cout<<setw<<number;.
(1)

Post your comments here:

Your comments will be displayed after verification.