Q:1 Explain what type of copy the default assignment operator "=" does when applied to objects. (shallow copy or deep copy)
Q:2 How we can use the concept of overloading to convert a type according to our own requirements? Give one example.
Q:3 Give the name of two cases where you MUST use initialization list as opposed to assignment in constructors.
Q:4 Can we create an array of objects for a class having user defined constructor? Justify your answer.
Q:5 Fill in the blanks below with public, protected or private keyword.
Public members of base class are __________ members of derived class
Protected members of base class are __________members of derived class.
Q:6 What is simple association? Explain it with the help of an example.
Q:7 The members of a class that can be accessed without creating the object of the class is called
Q: 8 The >= operator can be overloaded.
Q:9 Which of the following operators can not be overloaded?
The relation operator ( > )
(>>)
(<<)
(:J
Q:10 A static member function cannot have access to the _____ pointer of the class.
dangling
this
refrence
null