I want a nonmember function to have access to the private members of a class. The class must declare that function:
I want a nonmember function to have access to the private members of a class. The class must declare that function:
A. friend
B. inline
C. static
D. virtual
Hướng dẫn
Chọn A là đáp án đúng