Podcast
Questions and Answers
What is the use of cin in C++?
What is the use of cin in C++?
- To accept input data from the user (keyboard) (correct)
- To display output data on the screen
- To refer to a variable of a class anywhere in the program
- To derive a new class from an old class
What is the use of cout in C++?
What is the use of cout in C++?
- To display output data on the screen (correct)
- To uncover a hidden variable
- To accept input data from the user (keyboard)
- To derive a new class from an old class
What is a derived class in C++?
What is a derived class in C++?
- A class used to accept input data from the user
- A class that uncovers a hidden variable
- A new class derived from an old class in inheritance (correct)
- A class used to display output data on the screen
What is the use of the scope resolution operator in C++?
What is the use of the scope resolution operator in C++?
What does the scope resolution operator allow access to?
What does the scope resolution operator allow access to?