C Programming :: Control Instructions - Discussion
Home > C Programming > Control Instructions > MCQs Questions Discussion
25 / 33
What is the output of the following 'C' program ?
#include<stdio.h>
int main()
{
int i=10;
switch(i) {
case 10: printf("Hello "); {
case 1 : printf("World ");
}
case 5: printf("Hello World ");
}
}
#include<stdio.h>
int main()
{
int i=10;
switch(i) {
case 10: printf("Hello "); {
case 1 : printf("World ");
}
case 5: printf("Hello World ");
}
}
AHello
BWorld
CHello World Hello World
DSyntax Error
Answer: Option (Login/Signup)
Show Explanation
Asked In ::
No Discussion on this question yet!