Originally Posted by
galmca
i've been stuck on this problem,i hope some1 would be able to help me out..here! by explaning about how did that particular outcome come? the output is coming out to be...1002 1002 1002 1 Any help would be appreciated!
[/code]
Code:
int main(int argc, char **argv)
{
int a[2][3][4]={
{1,2,3,4,5,6,7,8,9,1,1,2},
{2,1,4,7,6,7,8,9,0,0,0,0}
};
printf("\n%u %u %u %d", a, *a, **a, ***a);
}
// a = addressof first byte in the whole array
// *a = addressof first byte in the whole array
// **a = addressof first byte in the whole array
// ***a = integer value at the first byte in the whole array
- xeddiex