Multiple choice

Which of the following is/are not manipulators in C++? a) endl b) setfill
c) setprecision
d) width

  1. Only d

  2. Both a and b

  3. None of these

  4. All are manipulators

  5. Both b and c

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Width is a function which specifies field width. For example, cout.width(4) function is called using cout object.