Advertisement

Responsive Advertisement

Introduction

 

  • C was developed by a system programmer Dennis Ritchie in 1972, at American Telegraph & Telecommunication (AT & T) Bell laboratories in New Jersey USA.
  • C was also used to develop some parts of this operating system.
  • C is generally supported by most compilers. 

C defined as the following ways,
  1. Mother language
  2. System programming language
  3. Procedure-oriented programming language
  4. Structured programming Language
  5. Mid-level programming Language


1.Mother language

  • C language is considered as the mother language of all modern programming languages because most of the compilers, JVMs, Kernals, etc. are written in C language.
  • Most of the programming languages follow C Syntax.
  • C provides the core concepts like array, strings, functions, file handling


2.System programming language

  • System programming language is used to create system software.
  • C language is a system programming language because it can be used to do low-level programming.
  • It is generally used to create hardware devices, OS, drivers, kernals, etc.
  • Linux kernel is written in C.
  • C can't be used for internet programming.

3.Procedural language

  • Procedure is known as a function, method, routine, subroutine, etc
  • Procedural language specifies a series of steps for the program to solve a problem
  • Procedural language breaks the program into functions, data structures, etc.

4.Structured programming language

  • Structured programming language is a subset of the procedural language.
  • Structure means to break a program into parts or blocks.
  • In the C language, we break the program into parts using functions.
  • It makes the program easier to understand and modify.


5.Mid-level programming language

  • C is considered as a middle-level language
  • It supports the feature of both low-level and high-level languages
  • Low-level language:
    • Low-level language is specific to one machine
    • Machine dependent
    • Not easy to understand
  • High-level language:
    • High-level language is not specific to one machine
    • Machine independent
    • Easy to understand

Post a Comment

0 Comments