C++ Programming - References - Discussion

Discussion Forum : References - General Questions (Q.No. 2)
2.
Which of the following statements is correct?
  1. Once a reference variable has been defined to refer to a particular variable it can refer to any other variable.
  2. A reference is not a constant pointer.
Only 1 is correct.
Only 2 is correct.
Both 1 and 2 are correct.
Both 1 and 2 are incorrect.
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
16 comments Page 2 of 2.

Chanchal said:   1 decade ago
Pointer take the reference of another variable also and it is not a constant pointer because we can change it.

Daniel Sandor said:   10 years ago
"The C++ standard does not force compilers to implement references using pointer.

Daniel Sandor said:   10 years ago
"The C++ standard does not force compilers to implement references using.

Ashish said:   1 decade ago
Can anyone please explain. Why the 2nd option is incorrect?

Anu said:   9 years ago
I think the option 1 is correct.

Pooja said:   8 years ago
A is the correct answer.


Post your comments here:

Your comments will be displayed after verification.