C is the widely used language because it provides a lot of features. Some of the features are given below:
- Memory Management
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.
C Language programs are portable that allows it to run on different operating systems. Because of portability feature, programs written in C works on different computer systems with little or no modifications.
Another feature of C is extendability. It is an ability to extend the existing software by adding some new features.
C programs runs faster. ‘C’ is also called as 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.
C language provides variety of data types, functions, and loops that makes it 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.
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.