0
18kviews
Explain the significance of pointers in C.

Mumbai University> FE > Sem 2> STRUCTURED PROGRAMMING APPROACH

Marks: 4 M

Year: Dec 2016

1 Answer
1
1.8kviews

Significance of pointers:

  1. Pointers provide direct access to memory

  2. Pointers provide a way to return more than one value to the functions

  3. Reduces the storage space and complexity of the program

  4. Reduces the execution time of the program

  5. Provides an alternate way to access array elements

  6. Pointers can be used to pass information back and forth between the calling function and called function.

  7. Pointers allow us to perform dynamic memory allocation and deallocation.

  8. Pointers helps us to build complex data structures like linked list, stack, queues, trees, graphs etc.

  9. Pointers allow us to resize the dynamically allocated memory block.

  10. Addresses of objects can be extracted using pointers

Please log in to add an answer.