Categories
e. Disadvantages of C programming

Concept of namespace

C does not implement the concept of namespaces. A namespace is structured as a chain of commands to allow the reuse of names in different contexts. Without namespaces, we cannot declare two variables of the same name.

But, C programming lacks in this feature, and hence you cannot define a variable with the same name in C.

Leave a Reply

Your email address will not be published. Required fields are marked *