Which one of the following options is correct?

Question:
Which one of the following options is correct?

1.Friend function can access public data members of the class.

2.Friend function can access protected data members of the class.

3. Friend function can access private data members of the class.

4.All of the above.

Posted Date:-2021-02-24 09:21:47


More MCQS Questions and answers

Search
Olete Team
Online Exam Test Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on Online Exam Test website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!