R

Rakesh Kumar • 28.44K Points
Instructor II

Q. Which of the following statements about C++ references is true?

  • (A) A reference must be initialized when declared.
  • (B) A reference can be null.
  • (C) A reference cannot be assigned a new address.
  • (D) Both A and C
  • Correct Answer - Option(D)
  • Views: 24
  • Filed under category C++

Explanation by: Rakesh Kumar
In C++, a reference must be initialized when declared and cannot be assigned a new address later.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.


Question analytics