Introduction to C

 

  •   C  is the one of the most popular General purpose program languages.
  • C language has been designed and developed “Dennis Ritchie” At  At & t bell laborating, in 1972
  • BCPL: Martin Richards            - 1967

(BCPL means Basic combined program language)

  • B : Ken Thomson            - 1970
  • C  : Dennis Ritchie           - 1972

 

Types of languages :

There are 3 types of languages i.e,

1. Machine level language

2. Assembly level language

3. High level language

 

Machine level language

  1. It is a computer natural language, which can be directly understood by the system. This language is Machine dependent
  2. It is not a portable
  3.  A program written in  1’s and 0’s (zeros) is called a Machine language
  4.  A binary code is used In a Machine language for a specific operation

 

Assembly level language:

  1. The program is in Alpha Numeric symbols instead 0's(zeros) and 1's.
  2. The Designer choose's easily symbols that are remember by the programmer. The programmer can easily developed the program in Assembly language 
  3. The Alpha Numeric symbols are called Mnemonics in assembly language 
  4. The ADD, SUB, MUL, DIV, RLC and RAL  are some symbols called "Mnemonics "

 


High level language :

  1. Procedure -  Oriented languages are high level languages. 
  2. This languages are employed for easily and speedy development of a program. 
  3. This disadvantages of assembly level language are overcome by high level language. 
  4. The compilers are used to translate high level languages to machine language. 
  5. Examples of high level languages are COBOL, FORTRAN, BASIC, C, C++.