The "Hello, World!" program is often considered one of the simplest and most basic programs that can be written in any programming language to demonstrate the syntax and basic functionality of that language. The origin of the phrase "Hello, World!" as a computer program can be traced back to at least the early 1970s.
One of the earliest known instances of the "Hello, World!" program appeared in the book "A Tutorial Introduction to the Language B" by Brian Kernighan, which was published in 1973. The program was written in the B programming language and looked like this:
main( ) {
extrn a, b, c;
putchar(a); putchar(b); putchar(c); putchar('!*n');
}
a 'hell';
b 'o, w';
c 'orld';
However, it was the book "The C Programming Language" by Brian Kernighan and Dennis Ritchie, published in 1978, that popularized the "Hello, World!" program in the C programming language.
-ChatGPT