Quiz on C++ Basic I/O Stream Operators



1. What does 'cout' stand for in C++?
2. Which operator is used to insert data into the output stream in C++?
3. What is the purpose of the 'cin' object in C++?
4. Which header file must be included to use 'cout' and 'cin'?
5. What does the '>>' operator do in C++?

Advertisements