C is a programming language developed at AT&T’s Bell Laboratories of USA in 1972. C was originally first implemented on the DEC PDP-11 computer. It was designed and written by a man named Dennis M. Ritchie. In the late seventies C began to replace the more familiar languages of that time like PL/I, ALGOL, etc.
In 1978, Brian Kernighan and Dennis Ritchie produced the first publicly available description of C, now known as the K&R standard.
The UNIX operating system, the C compiler, and essentially all UNIX applications programs have been written in C. Possibly why C seems so popular is because it is:
Why to use C?
- Easy to learn
- Structured language
- Simple in use
- It can compiled on a variety of computer platforms
In an industry where newer languages, tools and technologies emerge and vanish day in and day out, a language that has survived for more than 4 decades has to be really good.
C was initially used for system development work, the programs that make-up the operating system (because it produces code that runs nearly as fast as code written in assembly language).
Mobile phones, palmtops and tablets are becoming increasingly popular. Also, common consumer devices like microwave oven, washing machines are getting smarter by the day. This smartness comes from a microprocessor, an operating system and a program embedded in this devices. These programs not only have to run fast but also have to work in limited amount of memory. No wonder that such programs are written in C. With these constraints on time and space, C is the language of choice while building such operating systems and programs.
Mostly C is used for the development of:
- Operating Systems
- S/w, H/w & N/w Drivers
- Text Editor