Computer Science, asked by PragyaTbia, 1 year ago

What are limitations Of C language?

Answers

Answered by royal99
14
HEYA....
HERE IS YOUR ANSWER ⭕

 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.

@royal❤
Answered by asifkuet
17

Limitations of C Language is as Follows:

  • The main reason for the development of C++ is that it covers OOPs, which C language lacks.
  • Run-time checking problem in C programming language
  • An integer value can be passed through floating data
  • Fixing bug is difficult in C language
  • C doesn’t have the notion of the namespace.
  • It does not have the concept of destructor or constructor.

Similar questions