cdac cpp endmodule practice questions page 2

CDAC Oops With C++ Practice Questions

11. A dangling pointer is one

Show Answer ?

12. If a class is having two or more members of types of another classes, the relationship is called as ____________

Show Answer ?

13. What is the meaning of the statement. const Hello *p;

Show Answer ?

14. Inheritance in OOPs represents _________

Show Answer ?

15. After successful memory allocation, new returns __________

Show Answer ?

16. When a derived class fails to override a virtual function, then

Show Answer ?

17. Virtual functions ____

Show Answer ?

18. What is true about virtual functions?

Show Answer ?

19. What is true in case of virtual function?

Show Answer ?

20. A derived class inherits every member of a base class except

Show Answer ?