Exercise :: OOPS Concepts - General Questions
- OOPS Concepts - General Questions
11. | Why reference is not same as a pointer? |
|||||||
|
13. | Which of the following concepts provides facility of using object of one class inside another class? |
|||||||
|
14. | How many types of polymorphisms are supported by C++? |
|||||||
Answer: Option B Explanation: The two main types of polymorphism are run-time (implemented as inheritance and virtual functions), and compile-time (implemented as templates).
|