Question
What is stream manipulator?Explain use of setw()and Setprecision()as stream manipulator.
Answer :
Word Count : 106
______ ________ _______ ___ _________ ___ __________ ___ ________ _________ ____.
________ __________ _________ ____ ____ _________ _________ ___.
_____ _____ ___ _____ __________ ____ _______ ________.
______ ________ ________ _________ _____ _________ _______ ________ _________.
___ ____ ___ ____ __________ _________ _______ __________ __________ _______.
__________ ______ ______ ________ ____ _____ ____ ________ __________ __________.
______ ________ ________ _____ ______.
______ _______ __________ ____.
Skip in 10
Stream manipulator is used to manipulate the output formats. <Iomanip> header file is used for manipulators. It define number of function in c++.
Setw():-
This function is used to set the number of character to be used as the field width
________ __________ _________ ____ ____ _________ _________ ___.
_____ _____ ___ _____ __________ ____ _______ ________.
______ ________ ________ _________ _____ _________ _______ ________ _________.
___ ____ ___ ____ __________ _________ _______ __________ __________ _______.
__________ ______ ______ ________ ____ _____ ____ ________ __________ __________.
______ ________ ________ _____ ______.
______ _______ __________ ____.
IGNOU ACADEMY
Your IGNOU journey, made easier.
- Solved Assignments
- Study Notes
- Guess Papers
- Question Papers
Continue Reading — It's Free
Sign in with Google to unlock more of this answer.
✓ Free access
✓ Unlock up to 60% of the answer
✓ No payment required
✓ Unlock up to 60% of the answer
✓ No payment required
Quick Google sign-in. No separate registration form.