C/Cplusplus Why Modulus Operator is not used with float type values in C & C++ [SOLUTION] 18:19 After a long time, I'm writing this post, actually one of mine friend asked a question to me that, why c language compiler gives an error while compiling a program having use of modulus operator with float (real) type values. So