C Programming language

Introduction of C
Previous Home Next

C is a computer language developed by Dennis Ritchie at bell laboratories in 1972.The ANSI standard for c replaced the standard written by Kernighan and Ritchie in 1978.The structure of C is similar to PL/I which is a popular language used on IBM’s mainframe computers. C is a simple language which has small group of key words and there is no support for I/O and advance math. C can address and manipulate memory by direct address. C has a powerful library function which enables programmers to perform I/O and work with strings. But before understanding any language and its contents we have to know some basic concept.

History of c

C is a programming language developed at AT & T's Bell Laboratories of USA in 1972. It was designed and written by a man named Dennis Ritchie. In that time some languages were there like Algol-60 and Pascal. C language is member of Algol-60 based languages. CPL( Combined Programming Language) was built but it never implemented after BCPL(Basic CPL) came as implemented language. It was rewritten by  Ken Thompson in 1970 named B specially for UNIX Operating System. Dennis M. Ritche added some new features and introduced a new language called C language. The major advance of C over the languages B and BCPL was its typing structure. C language adopted some features from Algol-68 also.

Advantages of c

  1. C is very suitable for system programming
  2. C encourages the code reusability
  3. C encourages the structured programming.
  4. The different modules can be present in different source files and they can be  compiled separately.
  5. C is one of the most portable languages.
  6. C supports a number of data types.

Structure of a c program

A typical c program has 3 section:

  1. preprocessor directives
  2. global declarations
  3. function(s)
Previous Home Next