You are not logged in.

#1 2015-09-11 05:57:19

hasnain
Administrator
From: Chichawatni
Registered: 2014-10-13
Posts: 8,355
Website

Member Function:

C Programming Quizzes C++ Placement

Question:
In the following statements,

class Z
{
friend class X;
};

Option A):
All member function Z of are friend to X
Option B):
All member function of X are friend to Z
Option C):
All member function of X are friend to X
Option D):
All member function of Z are friend to Z

Correct Answer is Option B):
All member function of X are friend to Z


Failure is the first step towards seccess.

2015-09-11 05:57:19

Advertisement
Ads By Google

Re: Member Function:



Board footer