adplus-dvertising
frame-decoration

Question

A non-member function that is given access to all members of a class within it is declared, is called

a.

Access function

b.

Friend function

c.

Operator functions

d.

None of them

Answer: (b).Friend function

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. A non-member function that is given access to all members of a class within it is declared, is called