1.

Identify the incorrect statement.(a) Reference is the alternate name of the object(b) A reference value once defined can be reassigned(c) A reference value once defined cannot be reassigned(d) Reference is the alternate name of the variableThis question was posed to me in exam.My enquiry is from References topic in section Types, Pointers, Arrays & Structures in C++ of C++

Answer»

Correct CHOICE is (b) A reference value once defined can be reassigned

To EXPLAIN I would say: Reference is a thing which points to the valid MEMORY address, so it can’t be redesigned.



Discussion

No Comment Found

Related InterviewSolutions