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