#include
{ int i=30;
printf("%d\n",printf("%d",printf("%d",i)));
return 0;
}
#include
{ int i=30;
printf("%d\n",printf("%d",printf("%d",i)));
return 0;
}
Labels: Programming
I thought the following C program is perfectly valid (after reading about the comma operator in C). But there is a mistake in the following program, can you identify it?
#include
{ int a = 1,2;
printf("a : %d\n",a);
return 0;
}
Labels: Programming
Try guessing the output for the below code!!!!!!!!!
#includeint main()
{
char dummy[80];
printf("Enter a string:\n");
scanf("%[^a]",dummy);
printf("%s\n",dummy);
return 0;
}
Labels: Programming