Q98
What will be the output of the following C code? #include switch (ch) case 'a': case 'A': printf("true");
A.
if (ch == 'a' && ch == 'A') printf("true");
B.
if (ch == 'a')
if (ch == 'a') printf("true");
if (ch == 'a') printf("true");
C.
if (ch == 'a' || ch == 'A') printf("true");
AnswerD.
none of the mentioned
Answer: Option C
Solution
Answer: Option C
No explanation is given for this question Let's Discuss on Board