हिंदी

What is the use of setw( ) format manipulator?

Advertisements

प्रश्न

What is the use of setw( ) format manipulator?

टिप्पणी लिखिए
Advertisements

उत्तर

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
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 9: Introduction to C++ - Data Types, Variables and Expressions - Evaluation - Section - B [पृष्ठ १५०]

APPEARS IN

सामाचीर कलवी Computer Science [English] Class 11 TN Board
अध्याय 9 Introduction to C++
Data Types, Variables and Expressions - Evaluation - Section - B | Q 2. | पृष्ठ १५०

संबंधित प्रश्न

Which of the following is not a data type modifier?


Advertisements
Share
Notifications



      Forgot password?
Use app×