int main() { int x = 1; x %= 1.; x %= (double)1.; return 0; }
Standard input is empty
prog.c: In function 'main': prog.c:4:4: error: invalid operands to binary % (have 'int' and 'long double') x %= 1.; ^ prog.c:5:4: error: invalid operands to binary % (have 'int' and 'double') x %= (double)1.; ^
Standard output is empty