fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. float a=.8000808
  5. if(a==.8000808)
  6. printf("a");
  7. else
  8. printf("b");
  9. return 0;
  10. }
  11.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.c: In function ‘main’:
prog.c:5:2: error: expected ‘,’ or ‘;’ before ‘if’
  if(a==.8000808)
  ^~
prog.c:7:2: error: ‘else’ without a previous ‘if’
  else
  ^~~~
prog.c:4:8: warning: unused variable ‘a’ [-Wunused-variable]
  float a=.8000808
        ^
stdout
Standard output is empty