fork download
  1. #include <stdio.h>
  2. char *program = "#include <stdio.h>%cchar *program = %c%s%c;%cint main()%c{%cprintf(program, 10, 34, program, 34, 10, 10, 10, 10, 10, 10); %c return 0; %c}%c";
  3. int main()
  4. {
  5. printf(program, 10, 34, program, 34, 10, 10, 10, 10, 10, 10);
  6. return 0;
  7. }
Success #stdin #stdout 0s 2248KB
stdin
Standard input is empty
stdout
#include <stdio.h>
char *program = "#include <stdio.h>%cchar *program = %c%s%c;%cint main()%c{%cprintf(program, 10, 34, program, 34, 10, 10, 10, 10, 10, 10); %c    return 0; %c}%c";
int main()
{
printf(program, 10, 34, program, 34, 10, 10, 10, 10, 10, 10); 
    return 0; 
}