C (programming language)



C is a general-purpose, imperative computer programming language, supporting structured programming, lexical variable scope and recursion, while a static type system prevents many unintended operations. By design, C provides constructs that map efficiently to typical machine instructions, and therefore it has found lasting use in applications that had formerly been coded in assembly language, including operating systems, as well as various application software for computers ranging from supercomputers to embedded systems.

是一種通用的程式語言,廣泛用於系統軟件與應用軟件的開發。於1969年至1973年間,為了移植與開發 UNIX 作業系統,由丹尼斯·里奇與肯·湯普遜,以 B 語言為基礎,在貝爾實驗室設計、開發出來。

語言具有高效、靈活、功能豐富、表達力強和較高的可移植性等特點,在程式設計師中備受青睞,成為最近25年使用最為廣泛的程式語言。目前,語言編譯器普遍存在於各種不同的作業系統中,例如 Microsoft Windows、macOS、Linux、Unix 等。C 語言的設計影響了眾多後來的程式語言,例如 C++、Objective-C、Java、C# 等。