FDD-book/examples/part-01/ch04-a-first-look-at-the-c-programming-language/setup/hello.c

18 lines
316 B
C
Raw Normal View History

/*
* hello.c - the "Hello, World!" program used in Chapter 4's
* "Setting Up Your Environment" section.
*
* This is the smallest possible C program that actually does
* something: it prints a message and exits with status 0.
*/
#include <stdio.h>
int
main(void)
{
printf("Hello, World!\n");
return (0);
}