Print itself
Not really sure what the point of this task is.
Is it supposed to be a quine?
Or just a program that when executed echoes its source to STDOUT? (Here's probably the simplest valid program that when executed, echoes its source to STDOUT. It is exceptionally short: zero bytes; and when executed echoes zero bytes to STDOUT.)
Or are we supposed to demonstrate how to locate the currently executing source code file and incidentally, print it.
Whatever. Any of these satisfy the rather vague specifications.
Last updated