Hello World

\

The only way to learn a new programming language is by writing programs
in it. The first program to write is the same for all languages:
print the words

1
hello, world

This is the big hurdle; to leap over it you have to be able to create the program text somewhere,compile it successfully,load it, run it, and find out where your
output went. With these mechanical details mastered, everything else is com-
paratively easy.
In C, the program to print “hello, world” is

1
2
3
4
5
6
#include <stdio.h>
int main()
{
printf("hello, world");
return 0;
}