C Programming

From Chorke Wiki
Revision as of 21:33, 4 February 2018 by Shahed (talk | contribs) (Created page with "== Overview == '''C (/siː/, as in the letter c)''' is a general-purpose, imperative computer programming language, supporting '''structured programming''', '''lexical variabl...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Overview

C (/siː/, as in the letter 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.

C was originally developed by Dennis Ritchie between 1969 and 1973 at Bell Labs, and used to re-implement the Unix Operating System. It has since become one of the most widely used programming languages of all time, with C compilers from various vendors available for the majority of existing computer architectures and operating systems. C has been standardized by the American National Standards Institute (ANSI) since 1989 and subsequently by the International Organization for Standardization (ISO).

C is an imperative procedural language. It was designed to be compiled using a relatively straightforward compiler, to provide low-level access to memory, to provide language constructs that map efficiently to machine instructions, and to require Minimal Run-Time Support. Despite its Low-Level Capabilities, the language was designed to encourage Cross-Platform Programming. A standards-compliant and portably written C program can be compiled for a very wide variety of computer platforms and operating systems with few changes to its source code. The language has become available on a very wide range of platforms, from Embedded Microcontrollers to Supercomputers.

Variable Declaration

  • Summ