I was wondering what to name my blog .. :) Thanks to the song
'Hot' n 'Cold' ...
Let's start with some cool puzzles...
I wonder how many of you love programming.
This one is for hard core programmers... :D
While making hello world program in C one thing that puzzled me was what if I need to print the program itself on screen ... for example-:
if my program is
#include
int main()
{
printf("Hello World");
return 0;
}
then its output should be the same i.e
"
#include
int main()
{
printf("Hello World");
return 0;
}
"
Q-: Does this kinda situation can be tackled using any of C,C++, Java language.. or any other??
well try this ... and mail me some good answers.. if you cant (:P) then ask me for comprehensive detailed solution.. :-D
my email-: anirudh.newcastle@gmail.com
Hint-: try googling "Quine " :D