| |
|
Features of C
C is most widely used language. And below are the 10 most features of C. Below figure will clarify the features.
(1)Simple:-C is simple language and provides structured approach which breaks problem into parts that makes it too simple.
(2)Portable:-We can say C is portable or Machine Independent. C is not like Assembly Language as c program can be executed on different machines by doing some machine specific changes. Therefore its shows C is machine independent language.
(3)Mid-level programming language:-Although we said C is intended to low-level programming. We use C to develop system application like kernel, driver, etc. And it is also supports the features of high-level language. SO it is called mid-level language.
(4)Structured programming language:-We can break the program into parts using functions.
(5)Rich Library:-C provides lot of inbuilt functions that make the development fast.
(6)Memory Management:-It will supports feature of dynamic memory allocation. In C we can free the allocated memory at any time by calling free() function.
(7)Speed:-compilation and execution time of C language is fast becuase there is less inbuilt function hence will have less overhead.
(8)Pointer:-One of the feature of C is pointer. We can directly interact with the memory by using the pointers. We can use pointers for memory, structures, functions, array, etc.
(9)Recursion:-C provides code reusability for every function. Recursion enables us to use the approach of backtracking.
(10)Extensible:-It is extensible because it can easily adopt new features. | |
|
|
|
|