Vidyalelo
Computer Science · Q65

Object Oriented Programming Using C++

Engineering and GATE · Computer Science · question 65

Q65

In a class specifier, data or functions designated private are accessible

A.
to any function in the program
B.
only if you know the password
C.
to member functions of that class
Answer
D.
only to public members of the class

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board