namespace is working on which compiler?
Answers were Sorted based on User's Feedback
Answer / arvind
Namespace std: All the C++ files standard library declare all of its entities with in standard name spaces.
I worked with g++ complier. It even work with vc++ compilers.I don't about turbo c++.
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / poonam
The above answer is true. Namespace works with g++ and vc++
compilers. These are newly created standard library files of
c++. But the namespace doesn't work for turbo c++.
Actually 'namespace std' creates a kind of space for
standard library files to be stored in it. The earlier
extension of '.h' or header files is now not used in c++.
Is This Answer Correct ? | 1 Yes | 0 No |
What is class and object with example?
How do you explain polymorphism?
Can we create object of class with private constructor?
What is difference between new and malloc?
tell about copy constructor
what is the difference between function template and template of function?explain with example.
What is the use of fflush(stdin) in c++?
What is an object?
Which is faster post increment or pre increment ? and in which cases should u use either - to increase speed?
Why is polymorphism needed?
when to use 'mutable' keyword and when to use 'const cast' in c++
Can a varargs method be overloaded?