Remember
Register
1
new
Chill
new
Puzzles
new
GK
new
Sports
new
Business
Home
Questions
MCQs
Unanswered
Tags
Users
Ask a Question
Write Article
Articles
Connect to us
What is difference between pointer and reference? [CLOSED]
0
votes
348
views
What is difference between pointer and reference? [CLOSED]
This question has an answer at:
What is the difference between a pointer and a reference?
c
pointer
interview questions
c++
posted
Jul 11, 2016
by
anonymous
Looking for an answer? Promote on:
Both pointers and references let you refer to other objects indirectly. You can't take the address of a reference but you can with pointers. if you have a variable whose purpose is to refer to another object, but it is possible that there might not be an object to refer to, we have to make the variable a pointer, because then you can set it to "null".
...