How do you write a program which produces its own source code as its output?
Try to google....quine Problem... one solution is main(){char *c="main(){char *c=%c%s%c;printf(c,34,c,34);}";printf(c,34,c,34);}