|
-
Jan 17th, 2006, 10:15 AM
#1
Thread Starter
Hyperactive Member
Passing function arguments by refrence
In C.
When you declare your function prototypes and you want to pass the argument values by refrence, do you have to use the indirection operator in the argument definition list? I haven't really done work with pointers for a while and I can't remember...
Also I wanted to know that since the memory address of an array just points to the first address in a contigous segment of addresses for each element, why is it that you can't access the memory addresses for the array elements other than the first one? And if you can, how can you do it?
Last edited by GamerMax5; Jan 17th, 2006 at 06:16 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|