aboutsummaryrefslogtreecommitdiffstats
path: root/clone.c
blob: f8dc7373c1e03e9fdc48aae9a497016ff02b762f (plain)
1
2
3
4
5
6
7
8
// A program which was meant to clone itself, Proved to be a lot more difficult than it
// at first seemed. - Clearly unfinished.
#include<stdio.h>

int main ( int argc, char *argv[] ) {
    char *string = "#include<stdio.h>\n\nint main ( int argc, char *argv[] ) {\n    char *string = \"%n\";\n    printf(*string, *string);\n}\n"; 
    printf(string, string);
}