Which header file must be included to use cin and cout in C++?
Correct answer B. iostream
Explanation
The iostream header declares the standard stream objects cin and cout in the std namespace. The fstream header is used for file streams instead.
Answer checked How we write and check questions
Discussion