Programmes C étonnants
Les lignes qui suivent sont les codes sources en C de programmes qui affichent
leur propre code source. Source : XEmacs
Programas surpreendentes em C
As linhas que seguem são programas que produzem seus próprios
listings. Fonte : XEmacs
main(){char*a="main(){char*a=%c%s%c;int b='%c';printf(a,b,a,b,b);}";int b='"';printf(a,b,a,b,b);}
main(){char*p="main(){char*p=%c%s%c;printf(p,34,p,34,10);}%c";printf(p,3,p,34,10);}
main(a){a="main(a){a=%c%s%c;printf(a,34,a,34);}";printf(a,34,a,34);}
main(a){printf(a,34,a="main(a){printf(a,34,a=%c%s%c,34);}",34);}