Tuesday 18 December 2018

Uses of C Language

Why to use C 

* C was initially used for system development work in particular the programs that make up the operating system.It was initially implemented for the system that used UNIX operating system.
* C was adopted as a system development language because it produces a code that runs really as fast  as the code written in assembly language.


Some examples of the use of C might be 

1. Operating System
2. Language Compilers
3. Assemblers
4. Text Editors Editors are used to type the source program and store it on a disc.
C language uses a Turbo C editor in MS-DOS i.e. TC. UNIX system uses Vi editor.
5. Print Spoolers
6. Network Drivers
7. Modern Programs
8. Utilities
9. Database
10. Language Interpreters


Where is ‘ C ‘ useful : 

* The operating system such as UNIX , LINUX was written in C
* The compilers and interpreters for other languages was also written in C
The areas where C language is used
1. Embedded Systems
2. System Programming
3. Artificial Intelligence
4. Computer Graphics
5. Space Research
6. Image Processing
7. Game Programming


Features of ‘ C ‘: 

* C is a system programming language which provides flexibility for writing compilers , os etc.
* It is a high level language.
* C provides variety of data types both Built-in and User define.
* It contains set of operators that helps in writing the program efficiency.
* C language has an important feature called Extend-ability
* The programs can create and maintain a unique library functions.
* C has 40 keywords among which 32 were standard keywords and the remaining 8 are reserve keywords.
* It is highly portable i.e. programs written in one environment can be executed on other environment.
* C is often called as middle level language having features of both high level language and assembly level.
* C language is rich in built-in functions or standard functions (library functions).
* C language is a structured programming language , very simple and easy to learn.


No comments:

Post a Comment