A
Q. What will be the output of the following program ?
Code:
#include
void main()
{ int a = 2;
switchA.
{ case 1:
printf(“goodbye”); break;
case 2:
continue;
case 3:
printf(“bye”);
}
}
void main()
{ int a = 2;
switchA.
{ case 1:
printf(“goodbye”); break;
case 2:
continue;
case 3:
printf(“bye”);
}
}
- Correct Answer - Option(D)
- Views: 19
- Filed under category C Programming
- Hashtags:
Discusssion
Login to discuss.