C Language has a list of advantages due to this it is very much popular language around the world and best suitable for the programmer to learn at the first stage of the programming.
Advantages of C Programming Language:
- C is a highly portable language. This means that C programs written for one computer can easily run on another computer without any change or by doing a little change.
- C Language code or syntax is very easy to understand. It uses a keyword like if, else, switch, main, etc. This kind of keyword we all are using in our day to day life to get some decisions.
- C compiler is very fast compared to other language compilers. C compiler can compile around 1000 lines of code in a second. It is more efficient than unstructured code because of minimized branching of the code. Maintenance the C code is easy due to the readability of the code.
- Adding new feature is easier and faster.
- Program code is secured
Disadvantages of C Programming Language:
- C does not have the concept of OOPs, that’s why C++ is developed.
- It doesn’t contain run-time checking. We can pass an integer value for the floating data type.
- As the program extends it is very difficult to fix the bugs.
- C doesn’t have the concept of namespace.
- C doesn’t have the concept of constructor or destructor.
You May Also Like
0 Comments