C Program which prints its own Source Code

#include<stdio.h>
char *program=”#include<stdio.h>%cchar *program=%c%s%c;%cvoid main()%c{%cprintf(program,10,34,program,34,10, 10,10,10);%c}”;void main()

{
printf(program,10,34,program,34,10,10,10,10);
}

People who read this also read:

  • No Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *