Define namespace.
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 |
Find the Factorial of a number using a program.
explain the term 'resource acquisition is initialization'?
Write a C++ Program to Display Number (Entered by the User).
Explain what happens when an exception is thrown in C++.
What is wrong with this statement? std::auto_ptr ptr(new char[10]);
What is the difference between creating an object, using 'new' and using 'malloc'?
What's the value of the expression 5["abxdef"]?
What are the fundamental features of an object-oriented language?
How many times will this loop execute? Explain your answer.
What is the 4 difference between delete[] and delete?
Without using third variable write a code to swap two numbers.
Identify the errors in the following program. #include <iostream> using namespace std; void main() { int i=5; while(i) { switch(i) { default: case 4: case 5: break; case 1: continue; case 2: case 3: break; } i-; } }