Skip to content
Related Articles

Related Articles

ISRO | ISRO CS 2014 | Question 13
  • Last Updated : 14 May, 2018

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

Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.

My Personal Notes arrow_drop_up
Recommended Articles
Page :