Question: Which of the following can access private data members or member functions of a class?
Options
A : Any function in the program.
B : All global functions in the program.
C : Any member function of that class.
D : Only public member functions of that class.
Objects and Classes - General Questions more questions
Which of the following statements is correct when a class....
Which of the following statements is correct about the constructors....
Which of the following access specifies is used in a....
Which of the following statement is correct with respect to....
Which of the following keywords is used to control access....
Which of the following type of data member can be....
Which of the following also known as an instance of....
Constructor is executed when _____.
Which of the following statements about virtual base classes is....
How many objects can be created from an abstract class?
Constructors and Destructors - General Questions more Online Exam Quiz
Constructors and Destructors - General Questions
OOPS Concepts - General Questions