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) The language C is:
An assembly language
A third generation high level language
A machine language
None of the above
View Answer
2) Which type of errors are flagged by compilers ?
3) Which is the only function all C programs must contain?
4) A program written in mnemonics is called _________ program.
5) A program which translates a high-level language program into a machine language program is called