Easy Tutorial
❮ C Exercise Example41 C Environment Setup ❯

Introduction to C

C is a general-purpose, high-level language that was originally developed by Dennis Ritchie at Bell Labs for developing the UNIX operating system. C was first implemented in 1972 on a DEC PDP-11 computer.

In 1978, Brian Kernighan and Dennis Ritchie produced the first publicly available description of C, now known as the K&R standard.

The UNIX operating system, the C compiler, and virtually all UNIX applications are written in C. C has now become a widely used professional language for various reasons:

About C

Why Use C?

C was initially used for system development work, particularly programs that make up the operating system. The language was adopted for its efficiency in code generation, close to assembly language, making it a preferred choice for system development. Here are some examples of its use:

C Program

A C program can be as short as 3 lines or as long as millions of lines. It can be written in one or more files with the extension ".c", for example, hello.c. You can use "vi", "vim", or any other text editor to write your C program.

This tutorial assumes you know how to edit a text file and write source code in a program file.


C11

C11 (also known as C1X) refers to the ISO standard ISO/IEC 9899:2011. The previous C language standard was C99.

New Features

❮ C Exercise Example41 C Environment Setup ❯