What happens to output when data is sent to the output stream width that is wider than that set with the setw(int) manipulator, or equivalently, with cout.width(int)?

What will be an ideal response?


The output stream ignores the setw or width setting. It takes whatever space it needs to output the data. setw or width() only has an effect if the width provided is greater than the data's width.

Computer Science & Information Technology

You might also like to view...

All of the following are file types that Flash can create EXCEPT ____.

a. Flash Max b. ActionScript c. Adobe AIR d. iPhone OS

Computer Science & Information Technology

When a method returns nothing, it is known as a(n) ____________________ method.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

) Cell borders can be copied with the Format Painter

Indicate whether the statement is true or false.

Computer Science & Information Technology

The ____________________ data type is not subject to round-off error when calculated, unlike the Number data type with decimal values.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology