Skip to content

Instantly share code, notes, and snippets.

@dastergon
Created May 10, 2015 12:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dastergon/443f598d5d051f7b64f6 to your computer and use it in GitHub Desktop.
Save dastergon/443f598d5d051f7b64f6 to your computer and use it in GitHub Desktop.
The first ever known "hello world" version
// Kernighan's 1972 A Tutorial Introduction to the Language B
// https://en.wikipedia.org/wiki/%22Hello,_World!%22_program
main(){
extrn a,b,c;
putchar(a); putchar(b); putchar(c); putchar('!*n');
}
a 'hell';
b 'o, w';
c 'orld';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment