Answer Posted / snigdhadeb ash.
Namespace is a new concept introduced by the ANSI C++
standards committee. This defines a scops for the
identifiers that are used in a program. For using the
identifiers defined in the namespace scope we must include
the using directive,like
using namespace std;
Here , std is the namespace where ANSI C++ standard class
libraries are defined. All ANSI C++ programs must include
this directive. This will bring all the identifiers defined
in std to the current global scope. using and namespace are
the new keywords of C++.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the maximum combined length of command line arguments including the space between adjacent arguments?
List the advantages of inheritance.
Which one is better- macro or function?
Search for: what is pair in c++?
How do you print a string on the printer?
Why is it called c++?
Define a pointer to a data member of the type pointer to pointer?
Define Virtual function in C++.
Write about the local class and mention its use?
How do c++ struct differs from the c++ class?
What is endl?
Are php strings immutable?
Explain how we implement exception handling in c++?
How many types of comments are there in c++?
Write about the scope resolution operator?