written 7.9 years ago by | modified 2.9 years ago by |
Mumbai University> FE > Sem 2> STRUCTURED PROGRAMMING APPROACH
Marks: 4 M
Year: Dec 2016
written 7.9 years ago by | modified 2.9 years ago by |
Mumbai University> FE > Sem 2> STRUCTURED PROGRAMMING APPROACH
Marks: 4 M
Year: Dec 2016
written 7.9 years ago by |
Significance of pointers:
Pointers provide direct access to memory
Pointers provide a way to return more than one value to the functions
Reduces the storage space and complexity of the program
Reduces the execution time of the program
Provides an alternate way to access array elements
Pointers can be used to pass information back and forth between the calling function and called function.
Pointers allow us to perform dynamic memory allocation and deallocation.
Pointers helps us to build complex data structures like linked list, stack, queues, trees, graphs etc.
Pointers allow us to resize the dynamically allocated memory block.
Addresses of objects can be extracted using pointers