Write a program that prints itself.
(In reply to
Ruby solution by exoticorn)
s="s=%s;printf s, s.dump";printf s, s.dump
I don't know the language, so I'm not really sure, but that looks like it wouldn't print out the quotation marks as they should be. Am I wrong?
|
Posted by Sam
on 2003-09-22 00:53:43 |