English
Tamil Nadu Board of Secondary EducationHSC Science Class 11

What is the use of setw( ) format manipulator? - Computer Science

Advertisements
Advertisements

Question

What is the use of setw( ) format manipulator?

Short Note

Solution

setw manipulator sets the width of the field assigned for the output. The field width determines the minimum number of characters to be written in output.
Syntax:
setw(number of characters)

shaalaa.com
C++ Data Types
  Is there an error in this question or solution?
Chapter 9: Introduction to C++ - Data Types, Variables and Expressions - Evaluation - Section - B [Page 150]

APPEARS IN

Samacheer Kalvi Computer Science [English] Class 11 TN Board
Chapter 9 Introduction to C++
Data Types, Variables and Expressions - Evaluation - Section - B | Q 2. | Page 150
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×