The C programming language is a computer programming language developed in the early 1970s by Ken Thompson and Dennis Ritchie at Bell Labs. They used it to improve the UNIX operating system. It is still much used today. C is a procedural language, which means that people write their programs as a series of step-by-step instructions. C is a compiled language, which means that the computer source code, written in C, is converted to make machine code that a computer chip can actually execute.
Because the ideas behind C are like the ideas used in the design of the computer, the compiler (program builder) can generate fast machine code for the computer. The language itself has very few keywords, and most things are done using libraries, which are collections of code made to be reused. C has a big standard library called stdio, which stands for standard input/output.
C has a variety of uses:
The C language is over 50 years old, and has changed since it was first created. Every few years, people agree on the new parts of the C language they think would be good, and also remove some of the less-used parts. The agreed-upon language is declared as a standard, e.g. ANSI C, ISO C and Standard C which are published by the American National Standards Institute (ANSI) and the International Organization for Standardization (ISO).
C is available for many different types of computers. This is why C is called a "portable" language. A program that is written in C and that respects certain limitations can be compiled for many different platforms.
The C language has also influenced many other programming languages, such as C++, C#, and Java, and many more programming languages we use nowadays.
Here is an example of a program written in C. When built and run it will show "Hello world!", followed by a new line on the computer screen.
#include <stdio.h> int main() { printf("Hello world!"); return 0; }
#include <stdio.h>
int main()
printf("Hello world!\n");
return 0;