fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. char A = 1;
  5. int B = 1;
  6. int C = 256;
  7.  
  8. if (A=B) puts("A=B");
  9. if (B=C) puts("B=C");
  10. if (A=C) puts("A=C");
  11.  
  12. return 0;
  13. }
  14.  
Success #stdin #stdout 0s 9424KB
stdin
Standard input is empty
stdout
A=B
B=C