fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4.  
  5. unsigned n = 10;
  6. int (*a)[n] = NULL;
  7.  
  8. unsigned i = 0;
  9. size_t s = sizeof a[i++];
  10.  
  11. printf("%zu %u\n", s, i);
  12.  
  13. return 0;
  14. }
  15.  
Success #stdin #stdout 0s 2052KB
stdin
Standard input is empty
stdout
40 1