Time left:

[All Quizzes] → [Programming With C++] → [Operator Overloading and Polymorphism]


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

A.
B.

2. ► Operator overloading works only on pass by value

A.
B.

3. ► Polymorphism results in more memory because of:

A.
B.
C.

4. ► Operator overloading is very much like function overloading

A.
B.

5. ► An object of abstract class cannot be created

A.
B.

6. ► Operator overloading may lead to copies

A.
B.

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

A.
B.

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

A.
B.

9. ► static_cast makes use of run-time information

A.
B.

10. ► Derived class must implement pure virtual functions

A.
B.

11. ► Polymorphism is slower than function overloading

A.
B.

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

A.
B.

13. ► Interfaces in C++ are implemented through polymorphism

A.
B.


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