#include<stdio.h>
void main()
{
int a=1;
printf("%d %d %d %d",a,++a,a++,++a);
}
void main()
{
int a=1;
printf("%d %d %d %d",a,++a,a++,++a);
}
I scribble some typical C codes here which I find usually while programming. Blog comprises of C programming questionnaires where you have to identify the output, identical to questions asked in interviews. Any corrections or suggestions are welcomed. Note: Some questions may lack explanation, in such case apt explanations are invited & welcomed!
#include<stdio.h> char*f="char*f=%c%s%c;main(){printf(f,34,f,34,10);}%c"; void main() { printf(f,34,f,34,10); }