fork(2) download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. // your code goes here
  6. goto a1;
  7. a2:
  8. a=1;
  9. goto a3;
  10. a1:
  11. int a;
  12. goto a2;
  13. a3:
  14. return 0;
  15. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp: In function ‘int main()’:
prog.cpp:8:2: error: ‘a’ was not declared in this scope
  a=1;
  ^
stdout
Standard output is empty