Re: Help !!!! Pointers
well, thecall
Pointers are being used for the following reasons:
1- to return more than one value from a function.
2- to pass arrays and strings more conveniently from one function to another.
3-to manipulate arrays more easily by moving pointers to them(or a part of them), instead of moving the arrays themselves.
4- to create data structures, such as linked lists and binary trees, where one data structure must contain references to other data structures.
5- to communicate information about memory, as in the function malloc(), which returns the location of free memory by using a pointer.
from the book:
C Programming using Turbo C++
The Waite Group
hope this benefits you.