[ad_1]
I have two char array as below
char *t1[10];
char(*t2)[10];
when using sizeof to find their size
printf("sizeof(t1): %d\n", sizeof(t1));
printf("sizeof(t2): %d\n", sizeof(t2));
I found that the output is
sizeof(t1): 80
sizeof(t2): 8
I am quite confused by why I have two different result when using sizeof funciton.
[ad_2]