C++ Programming - References - Discussion
Discussion Forum : References - General Questions (Q.No. 2)
2.
Which of the following statements is correct?
- Once a reference variable has been defined to refer to a particular variable it can refer to any other variable.
- A reference is not a constant pointer.
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:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers