Computer Science, asked by SVSachinVerma, 1 year ago

Can anyone tell me the main advantage to use pointers in programming?


SVSachinVerma: thanks

Answers

Answered by 100nu
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 Anonymous
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!!!
Similar questions