fork download
  1. #include<stdio.h>
  2.  
  3. int main()
  4. {
  5. int x=10;
  6. printf("%f", x);
  7. return 0;
  8. }
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:6: error: format ‘%f’ expects type ‘double’, but argument 2 has type ‘int’
stdout
Standard output is empty