You are not logged in.
- Topics: Active | Unanswered
Pages:: 1
#1 2015-09-11 05:56:31
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
Failure is the first step towards seccess.
Offline
2015-09-11 05:56:31
- Advertisement
- Ads By Google
Re: C Plus Plus Placement:
Pages:: 1