Introduction to C Programming Language
The C Programming Language is a general-purpose, procedural, structure oriented, mid level programming language, developed at Bell Laboratories in 1972-73 by Dennis Ritchie at Bell Laboratories. The C Programming Language was developed to develop the UNIX operating system which is one of the most popular network operating system now a days.
History of C Programming Language
C language was developed from three different structured language ALGOL, BCPL and B Language. It inherits many features and concept from these three language as well as many new features was newly introduced such as datatypes, struct, pointer etc.
In 1988, American National Standard Institute(ANSI) formalised the C language. In 1990, a version of C language was approved by the International Standard Organisation(ISO) and that version of C is also known as C89.
Features of C Language
C language is one of the most widely used powerful programming language. Some of the it’s features of are discussed below.
- Reliability: Various modern programming languages like Java, python etc. have many advanced features like garbage collection, dynamic typing etc. which are not present in C language. However, the performance is not as fast as C language as they required more resources than C language and need some additional processing. C language allows the programmer to direct manipulation of the computer hardware. This is not possible in most of the high level programming language. This is one of the reason to choose c language.
- Portability: Once a C program is written, it can be compiled and executed in any system without any changes.
- Modularity: C Language itself can perform a limited operations. But the power of C language comes from its standard libraries that can be use to solve common problems. You can store a sections of your C code in the form of libraries for future use. This concept is known as termed as modularity.
- Structure oriented: C language is a structure oriented programming language. The aim of structure oriented programming language is the clarity of program, reduce the complexity of code. Using this approach code is divided into sub-program/subroutines. These programming have a rich control structure.
Application of C Programming Language
The C Language is developed for creating system applications that direct interacts to the hardware devices such as drivers, kernels etc. C programming is considered as the base for other programming languages, that is why it is known as mother language. Some example of applications of C language are –
- Operating Systems development
- Language Compilers
- Word processors and Text Editors
- Print Spoolers
- Network Drivers
- Modern Programs
- Language Interpreters
- Database systems
- Graphics packages
How to run a C Program ?
To create and run a C Program on your computer you need to setup the environment on your computer. There various compilers & interpreters for different operating system. The environment setup for c program is almost similar to C++ program environment setup. All most all the C++ compilers are capable of create, modify and execute a C program. You can read our C++ Programming environment setup tutorial for assistance.