Open In App

ISRO | ISRO CS 2014 | Question 13

Which of the following is true with respect to Reference?
(A) A reference can never be NULL
(B) A reference needs an explicit dereferencing mechanism
(C) A reference can be reassigned after it is established
(D) A reference and pointer are synonymous

Answer: (A)
Explanation: References cannot be null, whereas pointers can; every reference refers to some object, although it may or may not be valid. A reference can never be re-assigned once it is established.

So, option (A) is correct.



See: References in C++

Quiz of this Question



Article Tags :