C is a high-level structured oriented programming language, used in general purpose programming, developed by Dennis Ritchie at AT&T Bell labs, USA between 1969 and 1973.
Some facts about C programming language
- In 1988, the American National Standards Institute (ANSI) has formalized the C language.
- C was invented to write UNIX operating system.
- C is a successor of ‘Basic Combined Programming Language’ (BCPL) called B language.
- Linux OS, PHP and MySQL is written in C.
- C has been written in assembly language.
Uses of C programming language
In the beginning C was used for developing system applications e.g. :
- Database Systems
- Language Interpreters
- Compilers and Assemblers
- Operating Systems
- Network Drivers
- Word Processors
C has become very popular for various reasons
- One of the early programming languages.
- Still the best programming language to learn quickly.
- C language is reliable, simple and easy to use.
- C language is a structured language.
- Modern programming concepts are based on C.
- It can be compiled on a variety of computer platforms.
- Universities preferred to add C programming in their courseware.
Features of C programming language
- C is a robust language with rich set of built-in functions and operators.
- Programs written in C are efficient and fast.
- C is highly portable, programs once written in C can be run on another machines with minor or no modification.
- C is basically a collection of C library functions, we can also create our own function and add it to the C library.
- C is easily extensible.
Advantages of C
- 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 basically collections of C library functions, and it’s also easy to add own functions in to the C library.
- The modular structure makes code debugging, maintenance and testing easier.
Disadvantages of C
- C does not provide Object Oriented Programming (OOP) concepts.
- There is 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 Destructor.