, In this program, we only demonstrated that how it(pointer) works. In C programming there are so many advantages on pointer like:
* Pointers provide a way to return more than one value to the functions.
* Reduces the storage space and complexity of the program.
* Pointers allows 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 allows us to resize the dynamically allocated memory block.
*Addresses of objects can be extracted using pointers.