Speed of the resulting application. C source code can be optimized much more than higher level languages because the language set is relatively small and very efficient.
That leads to a second advantage that C has which is its application in Firmware programming (hardware). That is due to its ability to use/work with assembly and communicate directly with controllers, processors and other devices.
C programming language is very easier to learn. The main advantages of C language is that there is not much vocabulary to learn, and that the programmer can arrange for the program is very fast.
Disadvantages of C Language
C does not have OOPS feature that's why C++ is developed. If you know any other modern programming language then you already know its disadvantages.
There is no runtime checking in C language.
There is no strict type checking (for example: we can pass an integer value for the floating data type).
C doesn't have the concept of namespace.
C doesn't have the concept of constructors and destructors.
Disadvantages of C are: 1. There is no runtime checking. 2. There is no strict type checking (for ex:we can pass an integer value for the floating data type). 3. As the program extends it is very...
The main advantages of using pointers are 1.) Function cannot return more than one value. But when the same function can modify many pointer variables and function as if it is returning more than one...
arrays are very very useful in c++ for example if you need to store marks of 100 students..... u will have to make 100 int type data types............ so long.... but arrays can do the same work in a...