Q113
What will be the output of the following C code? #include int main() float f = 1; switch (f) case 1.0: printf("yes "); break; default: printf("default ");
A.
yes
B.
yes default
C.
Undefined behaviour
D.
Compile time error
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board