-
What will be the output of the following C code?
#include <stdio.h>
int main()
{
int k = 0;
char ch = 'U';
while (k < 2)
{
k++;
switch (ch)
{
case 'U':
printf("%c ", ch);
break;
break;
}
}
printf("\nInterview Mania");
}
-
- U U
- Interview Mania
- Compilation Error
- U U
Interview Mania - U
Interview Mania
U
Correct Option: D
U U
Interview Mania