How to give an alternate name to a namespace?
Answer / Sachin Kumar Singh
To give an alternate name to a namespace, you can use the scope resolution operator (::) along with the namespace alias declaration. For example: `namespace new_name = original_namespace;`
| Is This Answer Correct ? | 0 Yes | 0 No |
What do you mean by inheritance in c++? Explain its types.
What will happen if I allocate memory using "new" and free it using "free" or allocate sing "calloc" and free it using "delete"?
Why do we use templates?
Define pure virtual function?
Write a program that takes a 5 digit number and calculates 2 power that number and prints it.
Explain about Garbage Collector?
What is conversion constructor?
Is empty stack c++?
What are c++ data types?
Is ca high or low level language?
What are references in c++?
what is data Abstraction? and give example
147 Answers Aaditya Info Solutions, American Express, CMS, College School Exams Tests, Data Entry Operator, First Advantage, Google, HCL, IBM, Infosys, Microsoft, Mind Links, NIIT, Oracle, Pact, QBit Systems, TCS, WAYA, Wipro,