give the header file the holds setw() and endl
Answers
Answered by
4
Header file for setw() is : iomanip
Header file for endl is : ostream
- Header files contain the declaration for in-built functions.
- The exact definition for the functions is stored in their libraries.
- setw() function is used to set the width for the output value.
- endl is the predefined object present in ostream which is used to end the line then and there.
Similar questions