BASICS OF C LANGUAGE
A place where one could learn step by step about C language and gradually become a good programmer.
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
Home
Subscribe to:
Posts (Atom)
No comments:
Post a Comment