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