The same way we do it in every other programming language: we start with the canonical "hello world" application:
#include<stdio.h>
int main (void) {
printf ("Hello world!\n");
return 0;
}
Every other C program is merely an extension of the hello world application.