You are not logged in.
Pages:: 1
#1 2015-09-11 05:56:29
C Plus Plus Placement:
C Programming Quizzes C++ Placement
Question:
In the following statements,
class X
{
int fun1 ();
};
class Y
{
friend int X :: fun1 ();
};
Option A):
Function fun1() is member of class Y and friend of class Y
Option B):
Function fun1() is member of class X and friend of class Y
Option C):
Function fun1() is member of class X and friend of class X
Option D):
Function fun1() is member of class Y and friend of class X
Correct Answer is Option B):
Function fun1() is member of class X and friend of class Y
You cannot discover the new oceans unless you have the courage to lose the sight of the shore.
Offline
2015-09-11 05:56:29
- Advertisement
- Ads By Google
Re: C Plus Plus Placement:
\n
Pages:: 1