11. The private data of a class accessed by a friend function
A. is in the object that invoked the friend
B. is in the object created by the friend function
C. is in the object of different class
D. is in the object sent to the friend function as argument
Answer : is in the object sent to the friend function as argument.
12. Can we declare pointer to a pointer in C++
A. yes
B. no
C. not in case of float
D. depends on the compiler
Answer : yes.
13. Which of the following in your opinion is a valid declaration?
A. const int extern a;
B. const extern int a;
C. both of the above
D. none of the above
Answer : both of the above.
* Highly recommended for competitive exams and campus written tests
CDAC Blog..