You are not logged in.

#1 2015-09-11 05:54:05

husnain
User RankUser RankUser RankUser RankUser RankUser Rank
Administrator
From: Chichawatni,Pakistan
Registered: 2014-10-03
Posts: 8,129
Website

Friend Class:

C Programming Quizzes C++ Placement

Question:
A friend class in C++, can access the "__________" members of the class in which it is declared as a friend:

Option A):
public and protected
Option B):
private and protected
Option C):
Public
Option D):
private and public

Correct Answer is Option B):
private and protected


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

2015-09-11 05:54:05

Advertisement
Ads By Google

Re: Friend Class:



Board footer