What is true about the following statement?
cout << setw(4) << num4 << " ";
a. It allows four spaces for the value in num4.
b. It outputs "setw(4)" before the value in num4.
c. It is incorrect because it should use setw(10).
d. It is incorrect because it should use setw(num4).
a. It allows four spaces for the value in num4.
Computer Science & Information Technology
You might also like to view...
Machine language instructions are written in
a. English b. Decimal c. Binary d. Assembly e. None of these
Computer Science & Information Technology
The ____ attribute sets a limit on the number of characters a user can type in a text box.
A. maxchar B. maxsize C. maxwidth D. maxlength
Computer Science & Information Technology