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 the purpose of enum?
if u write a class do u write Assignment operator and copy constructor
I hv a same function name,arguments in both base class and dervied class, but the return type is different. Can we call this as a function overloading? Explain?
How long to learn object oriented programming?
Define a class to represent a bank account. Include the following members: Data Members: Name of the Depositor Account Number Type of Account Balance amount in the account Member Functions: To assign the initial values. To deposit an account. To withdraw an amount after checking the balance. Write a C++ main program to display account number, name and balance.
What type of Job you are providing?
what is multithreading in c++ , what is difference between multithreading and singlethreading.
A file pointer always contains the __________ of the file
what is diff between .net 1.1 and .net 2.0
why to use template classes in c++?
write a program in c++ to overload the function add (s1,s2) where s1 and s2 are integers and floating point values.
sir plz send me a set of questions that been frequently held in written examination during campus selection.