C++ MQCs with Explanation ( MANAGING CONSOLE I/O OPERATIONS )

Which of the following statements is TRUE?

  1. We need not specify the precision for each item separately
  2. If the specified field width is smaller than the size of the value, C++ expands the size of field to fit the value
  3. When displaying floating point numbers using precision function, the trailing zeros are truncated
  4. All the above



Answer: 
Option d:All the above

Explanation Here

Post a Comment

0 Comments