Define namespace.
Answers were Sorted based on User's Feedback
Answer / beena
It is a feature in c++ to minimize name collisions in the global name space. This namespace keyword assigns a distinct name to a library that allows other libraries to use the same identifier names without creating any name collisions. Furthermore, the compiler uses the namespace signature for differentiating the definitions.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / Bhumika Kansal
In C++, a namespace is a container that organizes items such as functions, classes, variables, and other namespaces to prevent naming conflicts. A namespace is created using the keyword 'namespace' followed by the namespace name and curly braces.
| Is This Answer Correct ? | 0 Yes | 0 No |
In C++ what is a vtable and how does it work?
What is constant keyword in C++? Illustrate its various uses.
1 Answers Akamai Technologies, Infogain,
What are the advantages and disadvantages of B-star trees over Binary trees?
Execute the qsort () in c/sort() in c++ library or your own custom sort which will sort any type of data on user defined criteria.
Discuss about iteration statements in C++ .
How can you force the compiler to not generate them?
What is a virtual base class?
Tell me about virtual function
What is an algorithm (in terms of the STL/C++ standard library)?
write a program To generate the Fibonacci Series.
Explain encapsulation in C++.
What is the purpose of a constructor? Destructor?