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

 

Đánh giá chủ đề này
How to whitelist website on AdBlocker?

How to whitelist website on AdBlocker?

  1. 1 Click on the AdBlock Plus icon on the top right corner of your browser
  2. 2 Click on "Enabled on this site" from the AdBlock Plus option
  3. 3 Refresh the page and start browsing the site