Manipulatorsare used to format the data display in CPP

Q.  ______________are used to format the data display in CPP?
- Published on 29 Jun 15

a. Iterators
b. Punctuators
c. Manipulators
d. Allocators

ANSWER: Manipulators
 
Manipulators are functions which are specifically designed to be used with conjunction with the insertion (<<) and extraction (>>) operators. They are used to change the formatting parameters on streams and insert or extract certain special characters.

Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)