c > getting started with c

Getting Started with C

This is the start of the lessons on the C programming language. C is an imperative, compiled, statically-typed, portable language.

Boilerplate

Boilerplate is used to refer to the repetitive sections of code that developers have to type with little to no variation.

Examine the following C code snippet:


#include <stdio.h>

int main(){
    // this is a comment
    printf("Hello world!");
    return 0;
}

↗ Open 📋 Copy c/hello.c

Challenge

Answer the following questions:

Grammar in C