FEATURES OF C.
- Simple
- Machine independent or portable
- Mid-level programming language
- Structure programming language
- Rich library
- Memory management
- Speed
- Pointers
- Recursion
- Extension
- Simple: C is a simple language in that it provides a structured approach to the rich set of library functions data types etc.
- Machine independent or portable: C program can be executed on different machines with some machine specific changes therefore , C is a machine independent language.
- Mid level programming: C combines the elements of high level language and the functionalism of low language therefore it is called mid level programming language.
- Structure programming language: C is a structure programming language in the sense we can break the program into parts using functions. so it is easy to understand and modify . Functions also provide code reusability.
- Rich library : C provides a lot a inbuilt function that make the development fast.
- Memory management: It supports the feature of dynamic memory allocation . In c language , we can free the allocated memory at any time by calling the free() function.
- Speed: The compilation and execution time of C language is fast since there are lesser inbuilt functions and hence the lesser overhead.
Pointers: C provides the feature of pointers. We can directly interact with the memory by using the pointers. We can use pointers for memory, structures, functions, array, etc. - Recursion: In C, we can call the function within the function. It provides code reusability for every function. Recursion enables us to use the approach of backtracking.
- Extension: C language is extensible because it can easily adopt new features.