Programming Languages C++ Objective
Mar 19, 2013

Which one of the following options is correct?

Choose the correct answer:
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
Detailed Explanation

Option D is the right answer.

Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback