Câu hỏi:

01/08/2022 424

Friend functions have access only to public members of the class.

Đáp án chính xác

Sách mới 2k7: Tổng ôn Toán, Lí, Hóa, Văn, Sử, Địa... kỳ thi tốt nghiệp THPT Quốc gia 2025, đánh giá năng lực (chỉ từ 70k).

Tổng ôn Toán-lý hóa Văn-sử-đia Tiếng anh & các môn khác

Quảng cáo

Trả lời:

verified
Giải bởi Vietjack

Chọn B

CÂU HỎI HOT CÙNG CHỦ ĐỀ

Câu 1:

“My Variable” is a valid identifier in C++

Xem đáp án » 01/08/2022 538

Câu 2:

Using operator overloading we can invent new operators.

Xem đáp án » 01/08/2022 447

Câu 3:

It Is legal to return local variables from a function which returns by reference.

Xem đáp án » 01/08/2022 436

Câu 4:

Friendship is commutative.

Xem đáp án » 01/08/2022 421

Câu 5:

A function designed as public can be accessible by non-members of a class.

Xem đáp án » 01/08/2022 399

Câu 6:

Inheritance helps in making a general class into a more specific class.

Xem đáp án » 01/08/2022 395

Bình luận


Bình luận