A type of member function that is automatically executed when an object of class is destroyed….
a) default constructor
b) parameterized constructor
c) destructor
d) none of these
Which of the following symbol is used for destructor?
a) not symbol (!)
b) negation (~)
c) and operator (&)
d) dollar sign ($)
A type of data member that is shared among all objects of class is known as….
a) data member
b) float data member
c) static data member
d) dynamic data member
A type of function that is allowed to access the private and protected member of class from outside the class is called…
a) default function
b) copy function
c) fried function
d) shared function
Which of the following is correct declaration of friend function?
a) friend void show (A, B);
b) friend void show {A, B};
c) friend void show[A, B];
d) none of these
A type of class all whose member functions are allowed to access the private and protected member function by another class……..
a) friend function
b) friend class
c) default class
d) default copy class