this program print its own source code without opening the source file.
would some one please explain me how does it work ,and what what process takes place in this program????
#include <stdio.h>
char *program = "#include <stdio.h>%cchar *program = %c%s%c;%cint main()%c{%c%cprintf(program, 10, 34, program, 34, 10, 10, 10, 9, 10, 9, 10, 10,10);%c%creturn 0;%c}%c";
int main()
{
printf(program, 10, 34, program, 34, 10, 10, 10, 9, 10, 9, 10, 10,10);
return 0;
}