OOPS Concepts - Programming

Q1:

Which one of the following options is correct?

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.

ANS:D - All of the above.

No answer description is available. Let's discuss.