400 Câu hỏi trắc nghiệm lập trình C/C++ có đáp án (Phần 8)

I want a nonmember function to have access to the private members of a class

5/50

I want a nonmember function to have access to the private members of a class. The class must declare that function:

friend

inline

static

virtual

Giải thích

Chọn A