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 |
There is a base class sub, with a member function fnsub(). There are two classes super1 and super2 which are sub classes of the base class sub.if and pointer object is created of the class sub which points to any of the two classes super1 and super2, if fnsub() is called which one will be inoked?
How do you write a function that can reverse a linked-list in C++?
Describe the different styles of function prototypes in C++.
What is a constructor initializer list?
Discuss about iteration statements in C++ .
What are "pure virtual" functions?
0 Answers Adobe, Alter, iNautix,
What is an algorithm (in terms of the STL/C++ standard library)?
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-; } }
Write a C++ Program to Check Whether a character is Vowel or Consonant.
How to generate random numbers in C++ with a range?
What is the difference between Stack and Queue in C++?
0 Answers Global Logic, iNautix,
Write a C++ Program to Find Sum and Average of three numbers.