Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3
This is how I visualize it: Pointers refere to an object by is memory address. Using pointers in your calculation will directly affect the referenced object itself improving performance in your code. A practical example: instead of making a copy of the whole object when you pass it as an argument of a function, you only pass the memory address instead.
24th Apr 2017, 6:57 AM
seamiki
seamiki - avatar