Section 1.1 Getting Started

Hello World


The only way to learn a new programming language is by writing programs in it. The first program to write is the same for all languages: Print the words


/* First Program in K&R. print hello,world */

#include <stdio.h>

int main() {
    printf("hello, world\n");


What really happens when you run hello world program?

Peek into the assembly code and jmps that happen with hello world as demonstrated in this article