You are not logged in.

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

husnain
User RankUser RankUser RankUser RankUser RankUser Rank
Administrator
From: Chichawatni,Pakistan
Registered: 2014-10-03
Posts: 8,129
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


You cannot discover the new oceans unless you have the courage to lose the sight of the shore.

2015-09-11 05:57:17

Advertisement
Ads By Google

Re: Member Function:



Board footer