Monday, September 28, 2015

interview que

what is the output.??
int i=5
;
switch(i)
{
default:
i=i+1;
case 4:
i=4;
case 5:
i=i+1;
case 6:
i=i-1;
}
printf("%d", i);

No comments:

Post a Comment