C Language MCQ - English
Which of the following statements should be used to obtain a remainder after div
Home | Discussion ForumWhich of the following statements should be used to obtain a remainder after dividing 3.14 by 2.1 ?
rem = 3.14 % 2.1;
rem = modf(3.14, 2.1);
rem = fmod(3.14, 2.1);
Remainder cannot be obtain in floating point division.
Answer : C
View More Related Question
1) Which type of errors are flagged by compilers ?
2) Which one of the following is not a valid identifier?
3) The process of removing bugs is known as ___________.
4) Which of the following special symbol allowed in a variable name?
5) A compiler is:
A machine-independent and OS-independent
Machine-dependent and OS-dependent
Machine-dependent and OS-independent
Machine-independent and OS-dependent
View Answer