A
aarklon
Hi all,
i found the following file whatdoido.c at
www.cs.toronto.edu/~hsc/270/examples/
on running the question 3)
i.e
int main(void)
{
int a[6] = {1,2,3,4,5,6},i;
for(i=0;i<5;i++)
a = &a[i+1];
printf("%d\n",******(int******)a);
return 0;
}
i am getting the answer as 6(on dev c++ 4 compiler). can anybody
explain why this is so.
i am not an expert by any means,so please be kind.
i found the following file whatdoido.c at
www.cs.toronto.edu/~hsc/270/examples/
on running the question 3)
i.e
int main(void)
{
int a[6] = {1,2,3,4,5,6},i;
for(i=0;i<5;i++)
a = &a[i+1];
printf("%d\n",******(int******)a);
return 0;
}
i am getting the answer as 6(on dev c++ 4 compiler). can anybody
explain why this is so.
i am not an expert by any means,so please be kind.