0
What is the benefit of pointers in C language ?
2 Réponses
+ 1
They allow you to point to memory locations rather than the values stored in that memory. Essentially, you don't need to use them unless you are working with memory in low level languages like C or C++.
+ 1
Pointers are special data types that point to an address in memory.
Pointers are very beneficial. You can use them to access data that is tedious to access or to swap two values,etc.
There are so many uses for pointers, but they can be dangerous if used incorrectly. Experiment and you will find out many cool features about pointers.