Introduction to C Language

The C programming Language is a general-purpose, structured programming language. C is most widely used programming language even today. All other programming languages were derived directly or indirectly from C programming concepts.

Programs written in C language takes very less time to execute and almost executes at the speed of assembly language instructions.

The extension of C source file is ".c", for example : source.c

Features of C Language :


C language is one of the powerful language. Below are some of the features of C language.

  • C language is a structured language.
  • Programs Written in C are efficient and fast. This is due to its variety of data type and powerful operators.
  • C is highly portable, programs once written in C can be run on other machines with minor or no modification.
  • C language is the most widely used language in operating systems and embedded system development today.
  • The C compiler combines the capabilities of an assembly language with features of a high-level language.
  • C language is a robust language with rich set of built-in functions and operators that can be used to write any complex program.
  • C is easily extensible.


Use of C language :

Initially C language was mainly used for writing system level programs, like designing operating systems. C was adopted as a system development language because it produces code that runs nearly as fast as the code written in assembly language. But there are other applications as well which can be very well designed and developed using C language, like Text Editors, Compilers, Network Drivers etc. Some of the examples of the use of C language is :
  • Operating Systems
  • Language Compilers
  • Assemblers
  • Text Editors
  • Print Spoolers
  • Network Drivers
  • Modern Programs
  • Database Systems
  • Language Interpreters
  • Utilities

Advantages of C :

Advantages of C language is :
  • C is the building block for many other programming languages.
  • Programs written in C are highly portable.
  • Several standard functions are there (like in-built) that can be used to develop programs.
  • C programs are collections of C library functions, and it's also easy to add own functions to the C library.
  • The modular structure makes code debugging, maintenance and testing easier.

Disadvantages of C :

Some of the disadvantages of C language is :
  • C does not provide Object Oriented Programming (OOP) concepts.
  • There are no concepts of Namespace in C.
  • C does not provide binding or wrapping up of data in a single unit.
  • C does not provide Constructor and destructors.


Next Topic :