Search unanswered questions...
Enter a question here...

What is the difference between a reference and a pointer in c?

[Edit]

Answer

The difference that i learnt very recently and the one i remember :-)

Reference cannot be changed whereas pointer value can be changed.

Actually, const pointer = reference.

Improve Answer Discuss the question "What is the difference between a reference and a pointer in c?" Watch Question

First answer by Sanju. Last edit by Sanju. Contributor trust: 20 [recommend contributor]. Question popularity: 10 [recommend question]

Research your answer:

Answers.com > Wiki Answers > Categories > Technology > Computers > Computer Programming > What is the difference between a reference and a pointer in c?

Our contributors said this page should be displayed for the questions below. (Where do these come from)
If any of these are not a genuine rephrasing of the question, please help out and edit these alternates.
Pointer vs reference?  Reference vs pointer?  Reference and pointer?  Pointer vs reference C?  What is pointer reference?  When use pointer reference?  Diff between pointer and reference?  Difference between array and pointer?  Different between pointer and reference?  Difference between refernce and pointer?  Difference between reference and pointer?  Difference between pointer and reference?  Difference between a pointer and a reference?  Difference between array pointer and reference?  Difference between pointer in c and pointer in c?  What is the difference between pointer and reference?  What is the difference between reference and pointer?  11 Differences between a reference and a pointer in C?  What is the difference between a pointer and a reference?  What is the difference between a C pointer and a reference?