fork download
  1. #include <stdio.h>
  2.  
  3. int main(void)
  4. {
  5. int A[2][2] = {0};
  6.  
  7. printf("%zu", sizeof(A) / sizeof(A[0][0])); // == 2 * 2
  8.  
  9. return 0;
  10. }
  11.  
Success #stdin #stdout 0s 5540KB
stdin
Standard input is empty
stdout
4