Features Of C Language || Uses of C Language MSBTE
Features of C :
- Simple
- General purpose language
- Block structured language
- Middle level language
- Platform dependent
- Portable
- Powerful
- Case sensitive
- Syntax based
- Compiler based
- Fast and Efficient
- Easily Extendable
1. Simple :
- C uses English language to write the code, that's why it is very easy to write code in C.
- Also the syntaxes used in C coding are simple which can be easily understood by the programmer.
2. General purpose language :
- Unlike COBOL and PASCAL, C is used for developing applications for all the purposes.
- C can be used for several domains of applications like, business and scientific applications.
- It has the ability to operate the bits, bytes and addresses means it can manipulate the memory hence it is used for system programming also.
3. Block structured language :
- As compare to other languages C is well structured language.
- The program code can be divided into several functions or blocks.
- The block structure approach helps to simplify the complexity of program by splitting it into smaller parts.
- To clearly understand the complex code, it is divided into blocks which can be manipulated by using control structure.
4. Middle level language :
- C combines features of both high-level language and low-level language so it is called as middle level language.
- C is near to machine as well as human as it deals with bit level operations and also uses English language while coding.
5. Platform dependent :
- C is a platform dependent language.
- Platform dependent means the program run on same operating system where it is developed and compile and can't be executed on another operating system.
- The compiled version of a program file is platform dependent.
6. Portable :
- Portability means executing the same application on different system.
- In C Language three files are generated; the source code file (has c extension), the compiled file (has .obj extension, and the executable file (has.exe extension).
- .exe file is not editable like.c file.
- The programs written and compiled on one operating system say Windows, can be able to run on other windows based systems. This much portability is supported by C.
- Note that this .exe file will not execute on other than windows operating system.
7. Powerful :
- C has rich function library with built-in functions.
- Wide range of operators and data types are available in C. Also provides various keywords.
- These all things make the C language more powerful.
8. Case sensitive :
- C language is the case sensitive language so it consider int and INT as two different terms.
9. Syntax based :
- C provides elegant syntax. While coding, the programmer should follow the syntax.
10. Compiler based :
- Every program written in C should be compiled first and then execute. Without compilation the code will not execute because C is compiler based programming language.
11. Fast and Efficient :
- Due to the large set of data types and operators, ci faster and efficient than other languages like BASIC etc.
12. Easily Extendable :
- C allows the programmer to use library functions and also add their own functions in library so as to extend and reuse the functions.
Uses of C language :
As the C is close with machine level languages, it is used in system programming to develop System software and also to develop desktop support software. Some applications of C Programming language are as follow:
- C programming language can be used to develop the system software like operating systems (For example UNIX, LINUX) and their operations.
- C programming language can be used to develop the Language Compilers which takes input from one language and produce output in another language (usually lower level language).
- C programming language is used to develop the Language Interpreters, and Assemblers.
- C programming language is used to develop the application software like database (MySQL) and Spread sheets.
- C programming language is used to develop the Network Devices.
- C programming language is used to develop the Embedded Systems.
- C programming language is used to develop the Firmware for several electronics communications products which are used in microcontroller.
- C programming language can be used to develop the Simulators, test code and verification software for other applications and hardware products.
- UNIX kernel is developed in C language.
- C programming language can be used to develop the Graphical related application like computer and mobile games and also 3D Games.
- C programming language can be used to develop the desktop applications like text editors.
- Also the C is used to develop the print spoolers.
- Also the C is used to develop other programming languages like PHP.
- C can be used to develop virus as well as antivirus.
Post a Comment