fork download
  1. //import core.stdc.stdio: printf;
  2. #include "stdio.h"
  3.  
  4. int i = 3;
  5.  
  6. int main() {
  7. {
  8. int some_condition = 1;
  9. if (some_condition)
  10. goto block_end;
  11.  
  12. /* dummy code */
  13. } block_end:
  14.  
  15. {
  16. int i = 7;
  17. printf("%i", i); //Local i
  18. }
  19.  
  20. printf("%i", i); // Global i (?)
  21. return 0;
  22. }
Success #stdin #stdout 0s 1832KB
stdin
Standard input is empty
stdout
73