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

Why pointers exists?

I know it's powerful, but also difficult...

14th Feb 2019, 6:47 AM
Federico Marcelli
Federico Marcelli - avatar
3 Answers
14th Feb 2019, 7:19 AM
Sudarshan Rai
Sudarshan Rai - avatar
+ 1
Pointers are really a simple topic. We can easily play with that * and & are the only things which are used in pointers. If you want to know from the basics. I suggest you to follow the book named as pointers in c by yashwant kanetkar. If you read this book then you can really play with pointers. This is the best one for pointers.
29th Sep 2019, 11:57 AM
Sankar Rao Mudadla
Sankar Rao Mudadla - avatar
0
To exploit memory management in a way that only c and c++ can do. This allows to make programs very efficients and its really useful in real time processing. Think about graphics rendering..
24th Oct 2019, 8:11 PM
Davide Sericoli