Which one of the following options is correct?

- Online Exam Test Papers | - MCQs[multiple choice questions and answers ] | - Mock Test Papers | - Practice Papers | - Sample Test Papers |

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
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in 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!