Feb 19, 2009 at 1:19am UTC
I have been reading this tutorial here .
I want to know what does it mean by address of variable in Array.please explain with example, I will be thankfull.
Last edited on Feb 19, 2009 at 1:19am UTC
Feb 19, 2009 at 1:43am UTC
You'll have to post a link. My psychic hat is at the dry cleaner.
Feb 19, 2009 at 2:48am UTC
A pointer maybe...
1 2 3 4
int * number;
int myarray[2] = { 0, 0};
number = &myarray[0]; // The pointer number holds the address of the first integer in the array
number would equal 0x00FAC or some kind of memory address.
An address is just the location of the variable in the memory.
Last edited on Feb 19, 2009 at 2:50am UTC