fork(7) download
  1. int main()
  2. {
  3. double x = 1;
  4. x %= 1.;
  5. return 0;
  6. }
  7.  
Compilation error #stdin compilation error #stdout 0s 2164KB
stdin
Standard input is empty
compilation info
prog.c: In function 'main':
prog.c:4:4: error: invalid operands to binary % (have 'double' and 'long double')
  x %= 1.;
    ^
stdout
Standard output is empty