Hello World - Command Line C
This is a basic piece of C to test your tool chain or for your first program. Remember, you must compile the source code for it to become a program.
For a basic gcc compile command in Linux see the list of Common Bash Commands on this site.
main.c
#include <stdio.h>
int main(){
printf("Hello World!\n");
return 0;
}