C Programming :: Control Instructions - Discussion
Home > C Programming > Control Instructions > MCQs Questions Discussion
1 / 33
What is the output of the following 'C' program?
#include<stdio.h>
void main()
{
int i=3;
switch(i)
{
default:printf("zero");
case 1: printf("one");
break;
case 2:printf("two");
break;
case 3: printf("three");
break;
}
}
#include<stdio.h>
void main()
{
int i=3;
switch(i)
{
default:printf("zero");
case 1: printf("one");
break;
case 2:printf("two");
break;
case 3: printf("three");
break;
}
}
Azero three
Bthree
Czero one
Dzero
Answer: Option (Login/Signup)
Show Explanation
Asked In ::
No Discussion on this question yet!