1.

What will be the output of the following C code?
#include <stdio.h>
void main()
{
int num = 7.5 % 3;
printf("Value of x is %d", num);
}

A. Value of num is 7.5
B. Value of num is 3
C. Value of num is 2.0
D. Compilation Error
E. None of these
Answer» E. None of these


Discussion

No Comment Found

Related MCQs