How come the addresses of main and &main are the same?

Viewed 47

When I execute the following function, the output addresses for main and &main are the same. Is there any reason why? I don't really understand.

int main()
{
  printf("main=\t0x%08x\n", main);
  printf("&main=\t0x%08x\n", &main);
}
0 Answers
Related