Vidyalelo
C Programming · Q254

C Fundamentals

Programming · C Programming · question 254

Q254

What will be the output of the following C code? #include void main() double b = 3 % 0 * 1 - 4 / 2; printf("%lf", b);

A.
-2
B.
Floating point Exception
Answer
C.
1
D.
0

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board