Skip to content

Comment on The smallest Hello World program

Comments

Would it be fair to name the program 'Hello World!' and than use argv[0], which is on the stack, to print out 'Hello World!'?

Hehe a nice idea. But then it would not always print Hello World and you cannot execute it directly.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.