fork download
  1. #include <stdio.h>
  2.  
  3. void f(int i)
  4. {
  5. char arr[i];
  6. printf("%d\n", sizeof(arr));
  7. }
  8.  
  9. int main(void)
  10. {
  11. f(1);
  12. f(2);
  13. f(3);
  14. }
Success #stdin #stdout 0s 1788KB
stdin
Standard input is empty
stdout
1
2
3