Q.

If a function is friend of a class, which one of the following is wrong?

A. A function can only be declared a friend by a class itself.
B. Friend functions are not members of a class, they are associated with it.
C. Friend functions are members of a class.
D. It can have access to all members of the class, even private ones.
Answer» C. Friend functions are members of a class.
1.4k
0
Do you find this helpful?
16

View all MCQs in

CPP Programming

Discussion

No comments yet

Related MCQs