What are the advantages and disadvantages of C language?

Answer:


Advantages of C language
  1. 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.
  2. 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.
  3. 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
  1. 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.
  2. There is no runtime checking in C language.
  3. There is no strict type checking (for example: we can pass an integer value for the floating data type).
  4. C doesn't have the concept of namespace.
  5. C doesn't have the concept of constructors and destructors.
First answer by ID1976547388. Last edit by Vincentshum22. Contributor trust: 1 [recommend contributor recommended]. Question popularity: 0 [recommend question].