purpose of pointers? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

purpose of pointers?

I understand and know how to use pointer but what is it's purpose in programming?

20th Sep 2017, 5:44 AM
jayrn02
jayrn02 - avatar
2 Answers
20th Sep 2017, 6:36 AM
Hatsy Rei
Hatsy Rei - avatar
+ 4
Passing a pointer through a function is useful, along with heap allocation you'll need to use a pointer
20th Sep 2017, 6:01 AM
Jordan Chapman
Jordan Chapman - avatar