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

what are the difference between pointers and references

pointer and reference concept in c++ programming

20th Nov 2018, 3:30 AM
Deepika Balichwal
Deepika Balichwal - avatar
1 Answer
+ 5
Pointers are variables used to store the address of another variable. References are aliases for existing variables.
20th Nov 2018, 4:50 AM
Hatsy Rei
Hatsy Rei - avatar