Time left:

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


1. ► string in C++ is just a char array with NULL termination

A.
B.

2. ► Factory pattern helps in memory management by centralized object creation

A.
B.

3. ► string comparison is as efficient as number comparison

A.
B.

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

A.
B.

5. ► By default, all members of a class are public

A.
B.

6. ► A constant function cannot have side-effects

A.
B.

7. ► Template types are checked at run-time

A.
B.

8. ► vector allows random access

A.
B.

9. ► A test running in 10 minutes qualifies as unittest

A.
B.

10. ► External symbols are resolved by tool:

A.
B.
C.
D.

11. ► Like set, bitset also has iterators to find all the bits

A.
B.

12. ► While creating an object of a derived class, only its constructor is called. Base class has no role to play.

A.
B.

13. ► A pure virtual function can be defined in base class

A.
B.

14. ► stringstream can be used to insert values of various basic types into a string

A.
B.

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

A.
B.


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