What is Namespace?

Answer Posted / sandeep mannarakkal

Name space is a global declarative region where name are uniquely getting identified.
it is possible to insert 1) functions 2) variables 3) class/Structure 4) namespaces inside namespace.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Give an example of run-time polymorphism/virtual functions.

568


How can we access protected and private members of a class?

597


How should runtime errors be handled in c++?

617


What is private inheritance?

604


Is there any difference between int [] a and int a [] in c++?

561






Can a constructor return a value?

583


How one would use switch in a program?

622


Why do we use the using declaration?

670


Is sorted c++?

584


Explain the advantages of using friend classes.

600


What is a singleton class c++?

552


What are the two types of comments, and how do they differ?

579


What is rtti in c++?

631


Are there any special rules about inlining?

589


What is class in c++ with example?

579