⇤ ← Revision 1 as of 2022-12-31 03:19:03
Size: 293
Comment:
|
Size: 857
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 2: | Line 2: |
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. |
|
Line 26: | Line 28: |
---- == 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'''. |
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.
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.