April 4th, 2002, 03:06 PM
I want clarification about array address
just follow the example
in the above program lets say array address is 1000
then the two printfs returning the same address ( 1000 ).
Is there any reason?
Arrayname itself is the address of the array.
when i am doing &temp , it should get the address of the temp which holding the address of the array
same thing happening when i am refering Fuction addresses
April 4th, 2002, 03:55 PM
That's because in C, when you're dealing with arrays, temp is a synonym for &temp.