Programming Languages C Objective
Mar 08, 2013

What will be the output of the following program ?

#include
void main()
{ int a = 2;
switch(a)
{ case 1:
printf("goodbye"); break;
case 2:
continue;
case 3:
printf("bye");
}
}

Choose the correct answer:
A) goodbye
B) bye
C) 3goodbye
D) error
Detailed Explanation

No Explanation

Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback