   Very Smart Programming Riddle
  Hello,I saw in one of the forums quite smart riddle:You should write a program which writes itself.This question and answer raised in very interesting article.If you want the article just ask but first- try to answer it by yourself.   
  Programs that write themselves out are called quines, and there have been several of them out there for almost any language.   ;The last time it came up.;  In perl, Yeah, i know, i cheat :)#!/usr/bin/perlseek DATA,SEEK_SET,0; print <DATA>;__DATA__;  Quines are pretty straightforward in most languages. Write a program that prints a string twice, make the string the same as the code, and tweak it a little.   ;  More information on quines is available from Wikipedia.  It has two sample quines written in both C and BASIC.   