Can anyone tell me the main advantage to use pointers in programming?
SVSachinVerma:
thanks
Answers
Answered by
1
In most languages that use pointers, there are certain sorts of references that are pointers, and .... With pointers you can allocate and deallocate memory in runtime.
Answered by
2
Major advantages of pointers are: (i) It allows management of structures which are allocated memory dynamically. (ii) It allows passing of arrays and strings to functions more efficiently. ... (iv) It makes possible to return more than one value from the function...
hope this helps!!!
hope this helps!!!
Similar questions