C Features
C is a widely used language because it provides a lot of features. Some of the features are given below:
- Modularity
- Portability
- Extendability
- Speed
- Powerful
- Memory Management
- Pointers
1. Modularity
Modularity is the ability to breakdown a large module into sub-modules that are easy to manage. Modular Programming is an important feature of structured programming languages like C.
2. Portability
C Language programs are portable that allows it to run on different operating systems. Because of the portability feature, programs written in C works on different computer systems with little or no modifications.
3. Extendability
Another feature of C is extendability. It is an ability to extend the existing software by adding some new features.
4. Speed
C programs run faster. ‘C’ is also called a middle-level language. Actually, it has advantages of both high level and middle-level languages. Programs written in ‘C’ language run at the speeds equals to that of the same programs written in assembly language. Therefore, C Language mostly used for system software development.
5. Powerful
C language provides a variety of data types, functions, and loops that makes it a powerful programming language.
6. Memory Management
C Language supports the feature of dynamic memory allocation. You can free the allocated memory at any time by calling the free() function in C.
7. Pointers
C provides efficient use of pointers. Using pointers, you can directly interact with the memory.
As C Language collected all useful features of previous languages, it has become more efficient & user-friendly as compare to previous languages.
Exercises & Assignments |
---|
No Content Found. |
Interview Questions & Answers |
---|
No Content Found. |