which function used to perform mod operation on floating numbers in C ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

which function used to perform mod operation on floating numbers in C ?

3rd Dec 2016, 7:30 AM
Suraj
2 Answers
0
there is no fun. to perform mod operation . % operator can do that.
3rd Dec 2016, 9:07 AM
Mohammed Shalan
Mohammed Shalan - avatar
0
no you cannot use % in floating point number in c you can use fmod() function.
3rd Dec 2016, 9:14 AM
Suraj