+ 1

When do i use a pointer and why?

24th Jul 2017, 2:55 AM
João Pedro
João Pedro - avatar
3 Respostas
+ 9
Pointers can be useful in efficient data structures such as linked lists, binary trees, etc. Sample: http://www.cprogramming.com/tutorial/lesson18.html
24th Jul 2017, 3:38 AM
Hatsy Rei
Hatsy Rei - avatar
24th Jul 2017, 3:43 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
0
For Dynamic memory allocation pointer is used
10th Aug 2017, 7:39 AM
Mahtab Alam