fork download
  1. int main()
  2. {
  3. int i = 10;
  4. int j = 10;
  5. if(i = 5)
  6. {
  7. j = 100;
  8. }
  9. else
  10. {
  11. j = 200;
  12. }
  13.  
  14. return 0;
  15. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
cc1: warnings being treated as errors
prog.c: In function ‘main’:
prog.c:5: error: suggest parentheses around assignment used as truth value
stdout
Standard output is empty