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
Differentiate between structure and class in c++.
Explain the concept of friend function in c++?
Name the debugging methods that are used to solve problems?
Which programming language should I learn first?
Describe the process of creation and destruction of a derived class object?
What do you mean by funtion prototype?
Can we specify variable field width in a scanf() format string? If possible how?
Can I learn c++ without knowing c?
What is private, public and protected inheritance?
What is encapsulation in c++ with example?
Can non graphic characters be used and processed in C++?
How can you prevent accessing of the private parts of my class by other programmers (violating encapsulation)?
Define what is constructor?
what is Member Functions in Classes?
Explain binary search.