#include <stdio.h>
void main (void){
int mat [5][5],i,j;
int *p;
p = &mat [0][0];
for (i=0;i<5;i++)
for (j=0;j<5;j++)
mat[i][j] = i+j;
printf ("%d\t", sizeof(mat)); i=4;j=5;
printf( "%d", *(p+i+j));
}
Can somebody help me with the output of this snippet . I get it the sizeof(mat) will print 50 . But help me with second printfc