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. Catch-all handlers uses which operators in c++?

String operators
Ternary operators
Ellipses operators
Unary operators

2. It is not possible to combine two or more file opening mode in open () method.

TRUE
FALSE
May Be
Can't Say

3. __________ is the technique of making a function call itself.

Lambdas
Smart
Recursion
Self

4. Which statement is used to catch all types of exceptions?

Catch()
Catch(Test t)
Catch(...)
None of the above

5. The terms lvalue and rvalue is referred to the things that appears on

The left side of assignments
The right side of assignments
The end of program
Both A and B

6. Which value can we not assign to reference?

Integer
Floating
Unsigned
Null

7. If private member functions are to be declared in C++ then __________

private(private member list)
private
private:
private :-

8. Which of the following statements is correct? i) Once a reference variable has been defined to refer to a particular variable it can refer to any other variable. ii) A reference is not a constant pointer.

Only 1 is correct.
Only 2 is correct.
Both 1 and 2 are correct.
Both 1 and 2 are incorrect.

9. Destructor has a same name as the constructor and it is preceded by?

!
?
~
$

10. A ___________ is a member function which is declared within a base class and is re-defined (overridden) by a derived class.

Static function
Virtual function
Lambdas function
Dynamic function

Results