fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. // your code goes here
  5. int a=10, b=5;
  6. {
  7. int a=20, b;
  8. b = a + 20;
  9. printf("%d, %d\n", a, b);
  10. }
  11. printf("%d, %d\n", a, b);
  12. return 0;
  13. }
  14.  
Success #stdin #stdout 0s 5272KB
stdin
Standard input is empty
stdout
20, 40
10, 5