in JAVA by
Select the best from following statements is correct about the friend function in C++ programming language?

(i) A friend function is able to access private members of a class

(ii) A friend function can access the private members of a class

(iii) A friend function is able to access the public members of a class

(iv) All of the above

1 Answer

0 votes
by

(iv) All of the above

Related questions

0 votes
asked Jan 24, 2021 in JAVA by rajeshsharma
0 votes
asked Jan 24, 2021 in JAVA by rajeshsharma
+1 vote
asked Jul 16, 2019 in C Plus Plus by Indian
...