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 #include c++?
Describe the syntax of single inheritance in C++?
What is a pointer how and when is it used?
How do c++ struct differs from the c++ class?
Are iterators pointers?
What is unary operator? List out the different operators involved in the unary operator.
What is the iunknown interface?
When do we run a shell in the unix system?
write a porgram in c++ that reads an integer and print the biggest digit in the number
What is the use of endl in c++?
Which is most difficult programming language?
What is setf in c++?
Can a program run without main function?
Specify different types of decision control statements?
What is the full form nasa?