Wednesday 15 September 2010

Pointers

A pointer is a variable that represents the location of a data item, such as a variable or an array element. Pointers are used frequently in C, as they have a number of useful applications. For example, pointers can be use to pass information back and forth between a function and its refrence point In particulr, pointers provide a way to return multiple data items from a function via function arguments. Pointers also permit refernces to other functions to be specified as aguments to a given function. This has the effect of passig functions as arguments to the given function.









No comments:

Post a Comment