‘C’ is a structured, general purpose high level programming language; initially used to develop the UNIX Operating System in the year 1972 by an American Computer Scientist, Dennis M. Ritchie. He was developed ‘C’ language with his colleague Ken Thomson at Bell Labs.
‘C’ is a structured programming language contains set of code blocks (high level instructions) enable to perform some activities. The code blocks contains sequence of high level instructions, in a structured manner; and these will be verified and executed by the ‘C’ Compiler.
‘C’ Compiler first verifies the code written for any Syntactical checks and if any Error; it throws the Error message(s) and STOP compiling the program. Once all Syntactical issues are resolved; it generates the object code.
‘C’ Compiler, reads entire code and generates the object code (machine readable form).
‘C’ is a procedural language; the entry point in ‘C’ program is the main()
procedure or function.
Let’s take a simple example to display “Hello, World!” on the screen.
#include <stdio.h> void main() { printf("Hello, World!") }
As mentioned before, ‘C’ is a structured programming language; hence you need to follow some rules to write the computer program using ‘C’ language.
// Malin