C Program to print its own source code as an Output



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

1 comment:

  1. hi
    can you explain the correct way to implement the code up please....
    i try but make no sense

    Tank s and great blog you have

    ReplyDelete