PREDICT THE OUTPUT

PREDICT THE OUTPUT


int inum = 2;
switch( inum )
{
case 1:
printf("one");
break;
case 2:
printf("two");
break;
case 3:
printf( "three");
break;
default:
printf(" invalid ");
break;
}






ANSWER- two

No comments:

Post a Comment