what are pointers and references in c++? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

what are pointers and references in c++?

I am struggling to understand what is the purpose of pointers and references? why do we need them? How are they different from one another? Any practical use of pointers and references would be helpful. Thanks

8th Sep 2022, 2:30 PM
Humza Ali
Humza Ali - avatar
3 Answers
+ 2
Here's a great video on Pointers in C, which should help you in C++ as well: https://youtu.be/XISnO2YhnsY
8th Sep 2022, 2:36 PM
Justice
Justice - avatar
0
Thank you guys !
9th Sep 2022, 8:03 AM
Humza Ali
Humza Ali - avatar