#include <stdio.h>
int main(int argc, char* argv[])
{
int a[2][3];
printf("sizeof(a[0]) = %d\n", sizeof(a[0]));
printf("sizeof(a[0][0]) = %d\n", sizeof(a[0][0]));
int b[2][3][4];
printf("sizeof(b[0]) = %d\n", sizeof(b[0]));
printf("sizeof(b[0][0]) = %d\n", sizeof(b[0][0]));
printf("sizeof(b[0][0][0]) = %d\n", sizeof(b[0][0][0]));
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbihpbnQgYXJnYywgY2hhciogYXJndltdKQp7CiAgaW50IGFbMl1bM107CiAgcHJpbnRmKCJzaXplb2YoYVswXSkgPSAlZFxuIiwgc2l6ZW9mKGFbMF0pKTsKICBwcmludGYoInNpemVvZihhWzBdWzBdKSA9ICVkXG4iLCBzaXplb2YoYVswXVswXSkpOwoKICBpbnQgYlsyXVszXVs0XTsKICBwcmludGYoInNpemVvZihiWzBdKSA9ICVkXG4iLCBzaXplb2YoYlswXSkpOwogIHByaW50Zigic2l6ZW9mKGJbMF1bMF0pID0gJWRcbiIsIHNpemVvZihiWzBdWzBdKSk7CiAgcHJpbnRmKCJzaXplb2YoYlswXVswXVswXSkgPSAlZFxuIiwgc2l6ZW9mKGJbMF1bMF1bMF0pKTsKCiAgcmV0dXJuIDA7Cn0K