GATE Computer Science (CS) 2012 Solved Paper

© examsiri.com
Question : 13 of 65
 
Marks: +1, -0
What will be the output of the following C program segment?
 
char inChar = ‘A’ ;
switch ( inChar )
{
case ‘A’ : printf (“Choice A\n”) ;
case ‘B’ :
case ‘C’ : printf (“Choice B”) ;
case ‘D’ :
case ‘E’ : default : printf ( “ No Choice” ) ;
}

Go to Question: