My Report

Object Oriented Programming Practice Test 7


Correct Answer: 2 points | Wrong: -1 point
Grades: A* (100% score) | A (80%-99%) | B (60%-80%) | C (40%-60%) | D (0%-40%)
advertisement

1. Which feature of OOP is exhibited by the function overriding?

2. Exactly same declaration in base and derived class includes______________

3. Which operator among the following can be overloaded using both friend function and member function?

4. Which among the following is true?

5. Which is the correct condition on const member functions?

6. Where is the memory allocated for the objects?

7. When is the memory allocated for an object gets free?

8. Which error will be produced if private members are accessed?

9. A private function of a derived class can be accessed by the parent class.

10. Which keyword must be used to declare a member function as a constant member function?


 

Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.