What is the use of ‘using’ declaration?



What is the use of ‘using’ declaration?..

Answer / beena

A using declaration makes it possible to use a name from a namespace without the scope operator.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

How do I make turbo c++ full screen?

0 Answers  


what is the difference between linear list linked representaion and linked representation? what is the purpose of representing the linear list in linked represention ? is it not avoiding rules of linear represention?

0 Answers  


What is the use of lambda in c++?

0 Answers  


Should a constructor be public or private?

0 Answers  


What is an iterator?

0 Answers  






check whether a no is prime or not.

3 Answers   TCS,


When should overload new operator on a global basis or a class basis?

0 Answers  


Define Virtual function in C++.

0 Answers   iNautix,


If horse and bird inherit virtual public from animal, do their constructors initialize the animal constructor? If pegasus inherits from both horse and bird, how does it initialize animal’s constructor?

0 Answers  


Difference between delete and delete[]?

5 Answers   Infosys, TCS, Virtusa,


What can I use instead of namespace std?

0 Answers  


Which compiler does turbo c++ use?

0 Answers  


Categories