"Hello, World!" in C
How to do "Hello, World!" in C.
// hello-world.c
#include <stdio.h>
int main()
{
puts("Hello, World!");
return 0;
}
The C language is mother and grandmother of a whole range of modern languages, like C++, PHP, C#, Java, Objective C, Swift, JavaScript and others. Development of the language is continuing, and the latest version, from December of 2011, is called C11. C is still in heavy use, mostly for embedded systems, realtime applications and operating systems on small devices.
For more "Hello, World!" examples, go to the Hello World category.