Thread
:
Function returning pointers
View Single Post
04-15-2005, 12:48 PM
#
3
(
permalink
)
developer
Junior Techie
Join Date: Dec 2004
Posts: 88
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
View Public Profile
Send a private message to developer
Find More Posts by developer