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 name given to a sequence of instructions in a computer language to get the desired result is:
2) The language C is:
An assembly language
A third generation high level language
A machine language
None of the above
View Answer
3) A set of instructions which describes the steps to be followed to carry out an activity is called ______________.
4) C was primarily developed as
System programming language
General purpose language
Data processing language
None of the above.
View Answer
5) The mapping from assembly language instructions into machine language instruction is: