Time left:

[All Quizzes] → [Programming With C++] → [Random - All Topics]


1. ► Defining a class will result in creating an object of this class in the program

A.
B.

2. ► Which of the following classes is input stream in C++

A.
B.
C.
D.

3. ► Exact virtual function is decided at run-time

A.
B.

4. ► Stream operator “>>” cannot be overloaded

A.
B.

5. ► Unittests are typically done at class level

A.
B.

6. ► Callbacks help to process objects without being part of corresponding classes

A.
B.

7. ► Constants allow compiler optimizations

A.
B.

8. ► Operator overloading allows to write common operator definition of user defined classes

A.
B.

9. ► string comparison is as efficient as number comparison

A.
B.

10. ► Which of the following gcc option converts warnings into errors

A.
B.
C.
D.

11. ► Most common unary operator is ‘()’

A.
B.

12. ► static_cast makes use of run-time information

A.
B.

13. ► Design patterns are solutions to commonly ocuring problems

A.
B.

14. ► Which of the following tools cannot be used as debugger

A.
B.
C.

15. ► Variables with same name can exist in multiple namespaces

A.
B.


© 2016 VirtuQ™ Education All right reserved. | Terms of Use | Privacy Policy