C Programming - Program that prints itself

This program output will print the program itself


int main()
{
char c[]="int main()%c{%cchar c[]=%c%s%c;%cprintf(c,10,10,34,c,34,10,10,10);%c}%c";
printf(c,10,10,34,c,34,10,10,10);
}

Labels:


About this entry