The cout is a predefined object of ______ class.
2022
The cout is a predefined object of ______ class.
- A.
istream
- B.
ostream
- C.
outstream
- D.
foutstream
Attempted by 189 students.
Show answer & explanation
Correct answer: B
In standard C++, the cout object is used for output to the console. It belongs to the ostream class defined in the iostream header file.