C++ Programming Quiz


Play this c++ quiz that will help you to excel in C++ certification exams, placements etc. This C++ programming quiz consist of 10 questions that you need to solve in 10 minutes. We’ve specially designed this quiz so that you can quickly acquaint to the pattern of questions you can be asked in placement drives, certification exams etc. This C++ programming test enables you to assess your knowledge of C++ programming.

Take the Free Practice Test



C++ MCQs

Practice C++ MCQ Questions, which will help you to understand C++ programming related concepts and also helps you to prepare for placements, technical rounds, interviews, competitive exams etc.

C++ Quiz

Try Free C++ Quiz, to start a quiz you need to login first, after login you will get start quiz button and then by clicking on that you can start quiz. You will get 10 Minutes to answer all questions.

C++ Quiz

1. Which of the things does not require instantiation?

Functions
Non virtual member function
Member class
All of the above

2. A pure virtual function is specified by placing?

-1
0
1
infinite

3. What is the output of this program?

         
Note:Includes all required header files
 using namespace std;
    int main ()
    {
        char fine, course;
        cout << "Enter a word: ";
        fine = cin.get();
        cin.sync();
        course = cin.get();
        cout << fine << endl;
        cout << course << endl;
        return 0;
    }

course
fine
Returns fine 2 letter or number from the entered word
None of the mentioned

4. C++ is standardized by the International Organization for Standardization (ISO).

True
False
Can be true or false
Can not say

5. Which of the following is false?

Friendship is not inherited
The concept of friends is there in Java.
Both A and B
None of the above

6. Which data structure can be implemented using recursion?

Linked list
Stack
Queue
All of the above

7. Which of the following applications of C++ programming?

Application Software Development
Programming Languages Development
Computation Programming
All of the above

8. Which of the following is correct option?

x = 5, y = 10
x = 10, y = 5
Compile Error
x = 5, y = 5

9. All arrays consist of __________ memory locations.

simple
contiguous
distant
None of the above

10. References can be NULL?

References has constant value 0.
References has constant value .
Yes.
No.

Results