Following are the uses of pointer in the C programming language .
Explanation:
The pointer is used to hold the address of the variable it means it holds the memory location of the variable so when we have to operate on the memory we have to use the pointer.
There is always memory wastage takes place in the C programming language so when we have to provide the dynamic memory location we have to use the pointer concept.
In the file handling operations we have to used the concept of the pointer in the c programming language.
With the help of pointer we can easily access the one dimensional and 2-dimensional array in the c programming.
Answers & Comments
1. It makes the program execution faster.
2. Reduces the complexity and execution time of the program.
3. Helps in Dynamic Memory Allocation.
4. Provide direct access to memory.
5. Address of objects can be extracted.
6. More efficient in handling the data tables.
Hope this helps!
Following are the uses of pointer in the C programming language .
Explanation:
Learn more: