Which of the following is incorrect?

a) References cannot be NULL
b) A reference must be initialized when declared
c) Once a reference is declared, it cannot be modified later to reference another object i.e. it cannot be reset
d) References cannot refer to a constant value

1 thought on “Which of the following is incorrect?”

  1. d
    Explanation: C++ allows references to refer to a constant value by making constant references. For example:
    const int a = 5;
    const int &ref = a;
    is an example of that.

Leave a Comment