Which of the following is correct?

Question:Which of the following is correct?

1.Friend functions can access public members of a class

2.Friend functions can access protected members of a class

3.Friend functions can access private members of a class

4.All of the mentioned

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!