Answer the following statements true (T) or false (F)

1) The flush member function copies the file buffer to the file on the file medium
(disk, tape, etc).
2) When you call the setf function on an output stream, the effect is only until the next output.
3) Setting the width of output with call to the width member function, affects only the next output.
4) Setting the width of output with the manipulator setw is different from setting the width with the width member function.

1) T
2) F
3) T
4) F

Computer Science & Information Technology

You might also like to view...

Excel enables you to sort data on ________ different levels

A) 256 B) 116 C) 18 D) 64

Computer Science & Information Technology

An app that performs synchronous tasks on a single-core computer often takes longer to execute than on a multi-core computer, because ________.

a) it’s too costly to convert them to asynchronous tasks b) the processor is shared between the app and all the others that happen to be executing on the computer at the same time c) multi-core computers have no overhead d) single-core compters generally have slower processors

Computer Science & Information Technology