C

A statically typed programming language. The design goals were minimalism and mirroring bare metal computer architecture, so as to simplify the process of porting C to new platforms. It allows low-level memory management and features a very concise standard library.

Contents

  1. C
    1. Example
    2. History


Example

A hello world program will look like:

#include <stdio.h>
int main() {
    printf("Hello World!\n");
    return 0;
}

To compile and run, try:

gcc -o hello hello.c
./hello


History

C was developed by Dennis Ritchie at Bell Labs.

A C standard was developed as ANSI C in 1989. While the standard itself continued to develop, today 'ANSI C' refers almost exclusively to the standard of that time. Alternatively it is known as C89.


CategoryRicottone