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
Sponsored Ad
Feel free to find and hire your online essay writer to help you with papers. AdvancedWriters will not let you down.
View More Related Question
1) A program which translates a high-level language program into a machine language program is called
2) A C variable cannot start with
3) Bug means:
A logical errors in a program
A difficult syntax error in a program
Both a and b
None of the above
View Answer
4) The part of a machine level instruction, which tells the central processor what has to be done, is:
5) When we mention the prototype of a function?