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

Which of the following is a valid statement?

  1. cout.setf(ios:: internal, ios:: basefield):
  2. cout.setf(ios:: scientific, floatfield);
  3. cout < <setf(ios:: hex, ios:: basefield)
  4. None of the above



Answer: 
Option b: cout.setf(ios:: scientific, floatfield);

Explanation Here

Post a Comment

0 Comments