Program:
int arr[] = {12, 14, 15, 23, 45};
printf("%u %u\n", arr, &arr);

Question: Why arr == &arr ?

Comments:
1. arr is a variable that stores the address of location where arr[0]
resides. Complier shows &arr and arr having same value. Shouldn't &arr
be the address where arr resides?

Thanks
Monish

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to