Hello, World

The first program students write in any new language is the “Hello, World” program. Here’s how it looks in C:

#include <stdio.h>
int main() 
	printf("Hello, World!\n");
	return 0;

To write and run this program see the Tools Guide in section 0.1 for more information. It should print “Hello, World!” to the console.