Difference between revisions of "Hello, world"

From Computer History Wiki
Jump to: navigation, search
(Stubbty, but it covers the topic)
 
m (Jnc moved page Hello World to Hello, world: Use original V6 C name)
(No difference)

Revision as of 14:25, 8 October 2018

Hello World is the canonical 'shortest example program' in any given programming language; a program which simply prints 'hello, world', and then terminates.

It started with one in the 'C Tutorial' in UNIX V6:

main() {
	printf("hello, world");
}