Quine Generator

This CGI script generates quine programs from normal C programs. It simply replaces each printself() command with an appropiate printf() command, which outputs the program itself.

Enter C source code: Generated quine:

char *y ="char *y =%c%s%c;
main() { printf(y,34,y,34,10); }%c";
main() { printf(y,34,y,34,10); }