Programming Languages
C
Objective
Jan 03, 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");
}
}
Detailed Explanation
The output of program is nothing it shows error so the answer is d.
Discussion (0)
No comments yet. Be the first to share your thoughts!
Share Your Thoughts