What is the use of pointers in C?
Answers
Answered by
1
Following are the advantages of pointers in C:
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!
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!
siddhartharao77:
Thanks Jas for the brainliest
Answered by
1
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.
Learn more:
- https://brainly.in/question/14002495
Similar questions