Limitations of ‘C’ language:


Although C language has gained a lot of popularity due to the features it provide, but it still possess certain limitations.
1.Programs with errors can also run: Some programming mistakes cannot be caught by C compilers. It   has certain pitfalls such as putting a semicolon at the end of a loop may create an infinite loop or may cause the loop end unintentionally. Moreover, tolerance of C compilers to errors in type makes it difficult to get the reason for error.

2.We cannot access a global variable in a program if a local variable of same name exists in that program.

3.Although C is one of the best programming language but there is a limit to its ability to handle complexity. A program written in C that contains several thousand line of code is difficult to understand and handle.

4.Unlike C++ that supports the concept of function overloading, in C we have to either make separate functions or modify the code if we want to perform addition of two integers, floating point numbers, characters or strings.

5.C uses ASCII character set which is only able to support 256 characters because it uses 1-byte to represent a character. It is unable to support some languages like Chinese, Japanese that have more than 256 characters.

Previous                                                                                   Next

Powered by Blogger.