Question: Which one of the following options is correct?
Options
A : Friend function can access public data members of the class.
B : Friend function can access protected data members of the class.
C : Friend function can access private data members of the class.
D : All of the above.
OOPS Concepts - General Questions more questions
Which of the following keyword is used to overload an....
What will happen if a class is not having any....
Which inheritance type is used in the class given below?....
Which one of the following is correct about the statements....
Which of the following is an invalid visibility label while....
Which of the following statements is correct in C++?
Which of the following is used to make an abstract....
Which of the following access specifier is used as a....
What is correct about the static data member of a....
Which of the following provides a reuse mechanism?
Constructors and Destructors - General Questions more Online Exam Quiz
Constructors and Destructors - General Questions
Objects and Classes - General Questions