int main() { double d1 = 1.0; double d2 = 1.0; d1 % d2; }
Standard input is empty
prog.cpp: In function 'int main()':
prog.cpp:4:7: error: invalid operands of types 'double' and 'double' to binary 'operator%'
d1 % d2;
^
Standard output is empty