fork download
  1. #include <stdio.h>
  2.  
  3. int main() {
  4.  
  5. int a = 3;
  6. int b = 2;
  7. int c = 1;
  8. if(a>b>c)
  9. {
  10. printf("true");
  11. }
  12. else
  13. {
  14. printd("false");
  15. }
  16. }
  17.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.c: In function ‘main’:
prog.c:8:6: warning: comparisons like ‘X<=Y<=Z’ do not have their mathematical meaning [-Wparentheses]
  if(a>b>c)
     ~^~
prog.c:14:3: warning: implicit declaration of function ‘printd’ [-Wimplicit-function-declaration]
   printd("false");
   ^~~~~~
/home/2iUNQP/ccbfnRe3.o: In function `main':
prog.c:(.text.startup+0xe): undefined reference to `printd'
collect2: error: ld returned 1 exit status
stdout
Standard output is empty