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.


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!