mirror of
https://github.com/ebrandi/FDD-book.git
synced 2026-12-06 00:23:30 +00:00
18 lines
316 B
C
18 lines
316 B
C
|
|
/*
|
||
|
|
* 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);
|
||
|
|
}
|