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
List the types of polymorphism in c++?
What is array in c++ example?
What are the advantages of using a pointer?
What is set in c++?
How one would use switch in a program?
What is searching? Explain linear and binary search.
What is object in c++ example?
Is c++ a dying language?
Why is it called c++?
What is else if syntax?
Does c++ have foreach?
I want to write a C++ language program that: 1. Reads in the size of a square from the screen; 2. Prints a hollow square of that size out of “-“, “|” and blanks on screen; 3. Prints the same hollow square onto a text file. The program should work for squares of all side sizes between 1 and 20.
What is the difference between a reference and a pointer?
What is abstraction c++?
What is c++ best used for?