fork(4) download
  1. #include<stdio.h>
  2.  
  3. int main()
  4. {long float a=25.345e454;
  5. unsigned double b=25;
  6.  
  7. printf("\n%lf%d",a,b);
  8. return 0;
  9. }
Compilation error #stdin compilation error #stdout 0s 1832KB
stdin
Standard input is empty
compilation info
prog.c: In function ‘main’:
prog.c:4:7: error: both ‘long’ and ‘float’ in declaration specifiers
prog.c:4:1: error: floating constant exceeds range of ‘double’ [-Werror=overflow]
prog.c:4:1: error: overflow in implicit constant conversion [-Werror=overflow]
prog.c:5:10: error: both ‘unsigned’ and ‘double’ in declaration specifiers
prog.c:7:1: error: format ‘%lf’ expects argument of type ‘double’, but argument 2 has type ‘long int’ [-Werror=format]
cc1: all warnings being treated as errors
stdout
Standard output is empty