Features and advantages of C
- Simple and easy to learn.
- Fast, Powerful & Efficient.
- Procedural Language
- Portable language.
- Structured Programming Language
- Rich Library.
- Mid-Level Programming Language.
- Pointers/Recursion.
- Extensible
1. Simple and easy to learn.
C is simple and easy to learn language as it provides a structured Language approach (i.e. to break the problem into modules), its rich set of library functions, a simple set of keywords, data types, etc.
2. Fast, Powerful & Efficient.
The compilation and execution time of C language is fast as it provides powerful operators, variety of data types and it has a lesser inbuilt function and access to direct manipulation with the computer hardware hence makes it more efficient and the first choice for the programmers..
3. Procedural Language
As a procedural language means the languagethat follows, in order, a set of commands. And in C there are step by step, ordered predefined instructions that are carried out tat makes it procedural.
4. Portable language.
It is also known as Machine Independent Language that can be executed on different machines with particular changes, hence making it portable and Independent Programming Language.
5. Structured Programming Language.
C language is a structured programming language that makes the program debugging, testing, and maintenance easier. This makes users to think of a problem in terms of function modules or blocks. The collection of these modules makes a complete program.
6. Rich Library.
C is rich in inbuilt function and Operators that make easier for the programmer to write a complex program easily and help in faster development.
7. Mid-Level Programming Language.
As we understand, that C is a low-level language but however it also supports the high level language. Therefore, it binds the gap between these low and high level language, hence known as Mid-Level Language.
A user can use C programming Language for System Programming that is writing Operating System and can be used as well as in Application Programming that is for creating a menu-driven customer billing system.
8. Pointers/Recursion.
Pointers and Recursion provides a certain functionality to the program.
- Pointers allow us to directly interact with the memory and is used for function, array, structures, etc.
- Recursion allows us to call the function within the function, providing the re-usability of every function.
9. Extensible.
Last but not the least feature/advantage of C is its ability to extend itself. C Language is easy to extend due to its ability to extend or add new features in already created applications.
Disadvantage of C
C does not have a concept of OOPs(Object-oriented programming), namespace, constructor or destructor.