View Single Post
Old 04-15-2005, 12:48 PM   #3 (permalink)
developer
 
Junior Techie

Join Date: Dec 2004

Posts: 88

developer

Default

int *myfunction(int a)
This is an example of a pointer returning function. How do you have the address, u must have it in some variable. * is value at the address operator. You cannot simply reference any memory as it may be not in your bounds.
__________________
Somewhere I Belong...
developer is offline