What are the differences between references and pointers? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

What are the differences between references and pointers?

9th Sep 2017, 7:04 AM
ⓢⓐⓝⓓⓔⓔⓟ
ⓢⓐⓝⓓⓔⓔⓟ - avatar
2 Answers
9th Sep 2017, 7:14 AM
Baptiste E. Prunier
Baptiste E. Prunier - avatar
0
Pointers simply point to an address in memory. A dereference shows you the value held within that address. Hope that answers your question.👌
31st Dec 2018, 6:02 AM
De Leo