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

What are built-in functions? What is the syntax for the definition?

0 Answers  


What are friend classes?

0 Answers  


What are the syntactic rules to be avoid ambiguity in multiple inheritance?

0 Answers  


Difference between Overloading and Overriding?

35 Answers   Appnetix Techno, GameLoft, HP, IBM, NIIT, Rohde and Schwarz,


What are shallow and deep copy?

0 Answers  






What happens if an exception is throws from an object's constructor and from object's destructor?

3 Answers   TCS,


What is size of Empty Class?

3 Answers   Persistent,


Which recursive sorting technique always makes recursive calls to sort subarrays that are about half size of the original array?

0 Answers  


what is oops

2 Answers  


Must accepts "Maestro Cards" Tax for bike should be less than 15 Total number of lanes is more than 10 Must provides monthly pass Write a method: boolean isGoodTollBridge(String[] cardsAccepted, String[] tollTax, boolean hasMonthlyPass, int numberOfLanes); String[] cardsAccepted A String array of names of card types accepted for payment of toll tax, it can be null if the toll does not accept any card String[] tollTax A String array of toll tax chart (say “Train : 300”,”BullCart : 10”) boolean hasMonthlyPass This parameter defines whether there is any monthly pass available or not int numberOfLanes This parameter defines the number of lanes for each side

0 Answers   Telecom,


What is main function in c++ with example?

0 Answers  


What is the difference between prefix and postfix versions of operator++()?

0 Answers  


Categories