cdac cpp endmodule practice questions page 3

CDAC Oops With C++ Practice Questions

21. Static members of a class

Show Answer ?

22. Which statement is true in case of a destructor?

Show Answer ?

23. Overloading of which operator will be similar to invoking a copy constructor?

Show Answer ?

24. In which of the following cases is a copy constructor invoked?

Show Answer ?

25. When does dynamic binding occur?

Show Answer ?

26. Overriding causes _________

Show Answer ?

27. With which of the following streams is the keyboard device associated by default?

Show Answer ?

28. What is true about a virtual base class?

Show Answer ?

29. Static member functions _________

Show Answer ?

30. Which of the following statements have errors?

Show Answer ?