C++ Programming - OOPS Concepts - Discussion

Discussion Forum : OOPS Concepts - General Questions (Q.No. 11)
11.
Why reference is not same as a pointer?
A reference can never be null.
A reference once established cannot be changed.
Reference doesn't need an explicit dereferencing mechanism.
All of the above.
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
13 comments Page 2 of 2.

Nusrat jan said:   1 decade ago
What is the difference between reference and pointer?

Dinesh kumar said:   1 decade ago
cout is an object of class ostream that represents the standard output stream. It corresponds to the cstdio stream stdout.

Chandan said:   1 decade ago
References always stores the address of objects so it can not be null and it can not be changed due to only one reference is possible to one object.


Post your comments here:

Your comments will be displayed after verification.