Section 1.1 Getting Started

Hello World

Question

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

Solution

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

#include <stdio.h>

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

Understand