fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int x, y;
  5. scanf("%d %d", &x, &y);
  6. int a[x][y];
  7. int i = 0;
  8. size_t z = sizeof(a[i++]);
  9. printf("%d %d\n", i, (int)z);
  10. return 0;
  11. }
  12.  
Success #stdin #stdout 0s 4400KB
stdin
5
7
stdout
1 28