Hello world in C

1. Introduction

This is an example hello world C program. We can define codeblocks with ---

{hello.c 1}
{Includes, 1}

int main() {
    {Print a string, 1}
    return 0;
}

Now we can define the Includes codeblock:

{Includes 1}
#include <stdio.h>

This code is used in section 1

Finally, our program needs to print "hello world"

{Print a string 1}
printf("hello world\n");

This code is used in section 1