Lambon Patrick
7 years ago

What is the purpose of the statement:using namespace std; In c++ programs?

Solution (By Examveda Team)

A namespace is designed to overcome this difficulty and is used as additional information to differentiate similar functions, classes, variables etc. with the same name available in different libraries. Using namespace, you can define the context in which names are defined. In essence, a namespace defines a scope.

This Question Belongs to User Ask Question >> Miscellaneous

Join The Discussion

Related User Ask Questions