Introduction to C Programming - Introduction

Chapter chap1 section 1

By time-honoured convention the first C program anybody writes is known as the "hello world" program. It is shown below.

main()
{
	printf("hello, world\n");
}

When this program is compiled and run the effect is to display

hello, world

on the screen.


See also

Programming with Integers