Introduction to C
Introduction to C: β C language is a high level language. It is both a general purpose(to develop applications programs) and a specific purpose(to develop System programs ) programming language. C is the most popular and common programming language for every application developer. It was developed at the Bell Telephone Laboratory, USA (Now AT & T), in 1972. It was developed by Dennis Ritchie .
C is derived from two early programming languages such as BCPL (Basic Combined Programming Language) and B language. These two languages also developed at Bell laboratory. Dennis Ritchie developed a new version of B and named it as C. He selected the name C for his new language because C comes after B in alphabetical order which indicates advancement to B.
Characteristics of C:-
- C is a General Purpose Programming Language This means C can be used to write a variety of applications. It is often referred to as a βsystem programming language.β
- C is a structured programming language, which means as a programmer, you are required to divide a problem into a several different modules or functions.
- C is renowned for its simplicity and is easy to use because of its structured approach. It has a vast collection of keywords, operators, built-in functions and data types which make it efficient and powerful.
- C is portable, which means a C program runs in different environments. C compilers are available for all operating systems and hardware platforms. Additionally, you can easily write code on one system and port it to another.
- C is modular, which means C programs can be divided into small modules, which are much easier to understand.
- C is easily available. The C software is easy to access and can be easily installed on your computer. The installation of C hardly takes a few minutes.
- C is easy to debug. The C compiler detects syntax errors quickly and easily and displays the errors along with the line numbers of the code and the error message.
Applications of C:- Because of its portability and efficiency, C is used to develop the system as well as application software. Some of the system and application software listed below are:
- Operating Systems(System software)
- Interpreters and Compilers(System software)
- Editors(System software)
- DBMS(Application software)
- Spreadsheets(Application software)
- Graphics packages(Application software)
- Word Processors(Application software)