Classes can bestow friendship on
A. | non-member functions |
B. | functions that are members of other classes |
C. | both (a) and (b) |
D. | none of these |
Option: B Explanation : Click on Discuss to view users comments. |
Friendship may be granted to
A. | no member functions of other classes |
B. | one member function from one other class |
C. |
one member function each from as many classes as appropriate
|
D. |
as many member functions of other classes as appropriate.
|
Option: D Explanation : Click on Discuss to view users comments. |
A. |
a forward declaration of the class that holds the member function being granted friendship
|
B. |
a forward declaration of the class that is granting friendship
|
C. |
definition of the class that contains the function that will be a friend
|
D. | definition of the class that is granting friendship. |
Option: B Explanation : Click on Discuss to view users comments. |
If My Class is a friend of Your-Class, which is true?
A. | Your Class is a friend of My Class |
B. | Your Class is not a friend of MY Class |
C. | Your c!ass may or may not be a friend of My Class |
D. | Your Class cannot be a friend of My Class. |
Option: C Explanation : Click on Discuss to view users comments. |
Syllabus covered in this section is-
This Section covers OOPS Questions Answers .These questions can be used for the preparation of various competitive and academic exams like
Who can benefit
Various Search Terms Used For This Section Are