Basic Features of C language
features that are given below.
- Simple - C is a simple language in the sense that it provides structured approach (to break the problem into parts), rich set of library functions, data types etc.
- Machine Independent or Portable - C is a simple language in the sense that it provides structured approach (to break the problem into parts), rich set of library functions, data types etc.
- Mid-level programming language - C is also used to do low level programming. It is used to develop system applications such as kernel, driver etc. It also supports the feature of high level language.
- structured programming language - C is a structured programming language in the sense that we can break the program into parts using functions. So, it is easy to understand and modify.
- Rich Library - C provides a lot of inbuilt functions that makes 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.
- Fast Speed - The compilation and execution time of C language is fast.
- 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.
- Extensible - C language is extensible because it can easily adopt new features.