JavaScript is required

One can reassign reference after it is initialized.

A.

TRUE

B.

FALSE

Trả lời:

Đáp án đúng: B


In C++, a reference is an alias for an existing variable. Once initialized, a reference cannot be reassigned to refer to a different variable. Attempting to reassign a reference will instead change the value of the original variable it refers to. Therefore, the statement "One can reassign reference after it is initialized" is false.

Câu hỏi liên quan