state gov UPPCL Assistant Accountant 2022 - 23 Mock Test Programming and Data Structure Programming in C
What is the output of the given program ?
main ()
{
int ch = 1;
switch (ch)
{
case 1:
printf ("\nGoodbye1");
case 2:
printf ("\nGoodbye2");
}
}
1
Goodbye2
2
Goodbye1
3
Goodbye1Goodbye1
4
Goodbye1
Goodbye2