Why are pointers important and what can be done with them later on? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Why are pointers important and what can be done with them later on?

6th Jul 2016, 8:07 AM
Brian Feetham
Brian Feetham - avatar
2 Answers
+ 2
Instead of copying (and so using twice the amount of memory) you are just pointing at the location of the data you want to use/manipulate.
8th Jul 2016, 2:18 AM
crocki134
+ 1
(send too soon) you are basicly saving memory to free it for something else and you can speed up complex calculations as you are not copying data back and forth but just the pointers
8th Jul 2016, 2:22 AM
crocki134