Time left:

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


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

A.
B.

2. ► Template compilation is slow because of:

A.
B.
C.

3. ► Templates are mostly used for generic containers

A.
B.

4. ► Which of the following streams is standard output in C++

A.
B.
C.
D.

5. ► Hiding reduces the possibility of side-effects

A.
B.

6. ► Templates are type-safe

A.
B.

7. ► Operator ‘[]’ on map must not be used to find an element to avoid unintentional insertion

A.
B.

8. ► mpty function in most of the containers executes in constant time

A.
B.

9. ► static_cast makes use of run-time information

A.
B.

10. ► A const value can be made to change via static_cast

A.
B.

11. ► Operator overloading works only on pass by value

A.
B.

12. ► ‘int *’ is same as ‘const int *’

A.
B.

13. ► string comparison is as efficient as number comparison

A.
B.

14. ► vector allows random access

A.
B.

15. ► Unittests are typically done at class level

A.
B.


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