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) The part of a machine level instruction, which tells the central processor what has to be done, is:
3) Which of the following is related to machine language?
4) C is a:
Completely high-level language
Completely low-level language
High-level language with low-level features
None of these
View Answer
5) Which of the following special symbol allowed in a variable name?