Sail E0 Webinar
Question
Which of the following statements should be used to obtain a remainder after dividing 3.14 by 2.1 ?
Options:
A .  rem = fmod(3.14, 2.1);
B .  Remainder cannot be obtain in floating point division.
C .  rem = 3.14 % 2.1;
D .  rem = modf(3.14, 2.1);
Answer: Option A

Submit Your Solution Below and Earn Points !
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers