fork download
  1. #include <stdio.h>
  2. int x =111;
  3.  
  4. void uru(void){
  5. printf("uruma1: %d \n", x);
  6. int x = 31;
  7. printf("uruma2: %d \n", x);
  8. }
  9.  
  10. int main(void) {
  11. int x =1;
  12. uru();
  13. printf("main: %d \n", x);
  14. return 0;
  15. }
  16.  
Success #stdin #stdout 0.01s 5264KB
stdin
Standard input is empty
stdout
uruma1: 111 
uruma2: 31 
main: 1