Hi C gurus,

I have some questions about the address of an array, Please look at the
following simple code:

===================================================
#include <stdio.h>

int main(void)
{
 int inter[3]={1,2,3};

 printf("inter is %p_____and &inter is %p\n",inter,&inter);
 printf("*&inter is %d\n",*&inter);
 printf("*inter is %d\n",*inter);

 return 0;

}
===================================================

Clearly, inter==&inter, but why *inter and *&inter is not identical?

Thanks!

---
LiGang


[Non-text portions of this message have been removed]

Reply via email to