adplus-dvertising
frame-decoration

Question

Which of the following statement obtains the remainder on dividing 5.5 by 1.3 ?

a.

rem = (5.5 % 1.3)

b.

rem = modf(5.5, 1.3)

c.

rem = fmod(5.5, 1.3)

d.

Error: we can't divide

Posted under C Programming

Answer: (c).rem = fmod(5.5, 1.3)

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of the following statement obtains the remainder on dividing 5.5 by 1.3 ?

Similar Questions

Discover Related MCQs

Q. Declare the following statement?
"An array of three pointers to chars".

Q. What do the following declaration signify?
int *ptr[30];

Q. Declare the following statement?
"A pointer to an array of three chars".

Q. What do the following declaration signify?
char *arr[10];

Q. What do the following declaration signify?
int (*pf)();

Q. Declare the following statement?
"A pointer to a function which receives an int pointer and returns float pointer".

Q. What do the following declaration signify?
void *cmp();

Q. Declare the following statement?
"A pointer to a function which receives nothing and returns nothing".

Q. What do the following declaration signify?
int *f();

Q. What do the following declaration signify?
void (*cmp)();

Q. What do the following declaration signify?
char **argv;

Q. What do the following declaration signify?
char *scr;

Q. An external variable

Q. The declaration "unsigned u" indicates u is a/an

Q. A declaration "short int" is used for variables

Q. Which of the following 'C' type is not a primitive data structure?

Q. Printing a character as an integer

Q. The program fragment

int i = 263 ;
putchar (i) ;
prints

Q. int i = 5; is a statement in a C program.

Q. If the declaration unsigned c:5; is replaced by
unsigned : 6;
then