What will be the output of the given program? #include<stdio.h> #include<conio.h> int main() { char x='G'; switch(x) { if(x=='B') { case 'd': printf(%c,'o'); case 'B': printf(%s,Bad); } else { case 'G': printf(%s,Good); default: printf(%s,Boy); } } getch(); }
Reveal answer
Fill a bubble to check yourself