Home » C Programming » Variables » Question
  1. Which of the following statement should be used to obtain a remainder after dividing 7.39 by 5.9 ?
    1. rem = 7.39 % 5.9;
    2. rem = modf(7.39, 5.9);
    3. rem = fmod(7.39, 5.9):
    4. rem = 7.39 mod 5.9
    5. We cannot obtain the remainder in floating point division.
Correct Option: E

We cannot obtain the remainder in floating point division.



Your comments will be displayed only after manual approval.