C programming Quiz 21-25
Quiz 21:int a=1;
printf("%d %d %d", a, ++a, a++);
Quiz 22:
int main()
{
for(putchar('M');putchar('I');putchar('U'))
{
putchar('L');
}
}
Quiz 23:
int main()
{
printf("%d",'+'-'+'-'/'/'/'*'*'/'*');
}
Quiz 24:
int main(){
int i;
for(i = 0; i < 100; i++); { i++ printf("%d", i); }
Quiz 25:
int main()
{
int num=5;
switch(num)
{
default:printf("FACEBOOK\n");
case 1:printf("GOOGLE\n");break;
case 2:printf("GMAIL\n");break;
case 3:printf("ANDROID\n");break;
}
}
In case of any explanation kindly comment! DON'T FORGET TO JOIN THIS BLOG.. SHARE IT WITH YOUR FRIEND!
No comments:
Post a Comment