C
chandanlinster
consider the program,
/*********************************************************/
int
main()
{
int a[2][3];
printf("a = %u\n", a);
printf("*a = %u\n", *a);
return 0;
}
/***********************************************************/
When I compiled and executed the above program, I got the following
output:
a = 3213021068
*a = 3213021068
As you can see both "a" and "*a" give the same value; Why is this
happening? What value does "a" acutally contain? (I mean to whom does
it point to?)
/*********************************************************/
int
main()
{
int a[2][3];
printf("a = %u\n", a);
printf("*a = %u\n", *a);
return 0;
}
/***********************************************************/
When I compiled and executed the above program, I got the following
output:
a = 3213021068
*a = 3213021068
As you can see both "a" and "*a" give the same value; Why is this
happening? What value does "a" acutally contain? (I mean to whom does
it point to?)