C++ Input/Output Streams and Inheritance Quiz

AstonishedHyena avatar
AstonishedHyena
·
·
Download

Start Quiz

Study Flashcards

Questions and Answers

What is the use of cin in C++?

To accept input data from the user (keyboard)

What is the use of cout in C++?

To display output data on the screen

What is a derived class in C++?

A new class derived from an old class in inheritance

What is the use of the scope resolution operator in C++?

<p>To refer to a variable of a class anywhere in the program</p> Signup and view all the answers

What does the scope resolution operator allow access to?

<p>The global version of a variable</p> Signup and view all the answers

More Quizzes Like This

C++ Input/Output Operations
18 questions

C++ Input/Output Operations

PrincipledSilver2036 avatar
PrincipledSilver2036
C++ Unit 5: IO Streams and Files
6 questions
Use Quizgecko on...
Browser
Browser