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

1. cin is an output stream object of type ostream.

2. cout has type ostream, i.e., is an output object.

1. False
Explanation: cin has type istream object, i.e., it is an input stream.
2. True

Computer Science & Information Technology

You might also like to view...

Which of the following is true regarding using tabs within tables?

A) You can use a table OR tabs, but not both at the same time. B) Only right-aligned tabs are permitted in the right-most column. C) Ctrl + Tab must be used to move to a tab stop. D) It makes no difference whether the tabs or the table is established first.

Computer Science & Information Technology

Mobile devices are critical to an application's security. Therefore, stringent rules should be followed to ensure they are never lost or damaged.

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

Computer Science & Information Technology