Name: SickOfItAll Date: 4/10/2002 11:10:46 AM (GMT-7) IP Address: 208.1.79.30 In Reply to: Is it... posted by SickOfItAll Message:
myArray is local scope to the function foo(). When called, foo() returns a pointer to the myArray[] variable's contents, but once the pointer is returned and the function ends, myArray[] falls out of scope so the pointer returned is useless. |
[ View FollowUps | Post Followup | E-Mail Sender | Main ] |