#include<stdio.h>
char *str="char*str=%c%c%c;main(){printf(str,34,str,34);}";
void main()
{
printf(str,34,str,34);
} gives the O/P
char *str="char*str=%c%c%c;main(){printf(str,34,str,34);}"; Can't say how??
No formatting string is used in printf() like %s or so.