#include <stdio.h> int main() { printf("hello, world\n"); }
exit code 0
Every language greets the world the same way first. The phrase traces back to Brian Kernighan's 1972 tutorial for the B language at Bell Labs, then rode printf("hello, world\n"); into fame through Kernighan & Ritchie's C book in 1978 — and it's been the first line written in a new language ever since.
#include <stdio.h> int main() { printf("hello, world\n"); }
print("Hello, World!")
fn main() { println!("Hello, world!"); }
console.log("Hello, World!");
(format t "~a, ~a!~%" "Hello" "World")
mov edx, len mov ecx, msg int 0x80