Writing the code - learnclang/1-helloworld GitHub Wiki

Once you've picked your text editor, it's time to get started writing.

C programs are text files that happen to have the '.c' extension. Thus, for our first program, let's create a file called hello_world.c and type the following:

#include <stdio.h>

int main()
{
    printf("hello, world\n");
    return(0);
}
⚠️ **GitHub.com Fallback** ⚠️