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 |
1.explicit call for destructor 2.calling function inside a constructor. 3.base *b-new derived delete b; 4.delete p what it will delete. 5.size of base class and derived class int i,in base class and int j in derived. 6.int i-20 int main() { int i =5; printf("%d".::i); { int i =10; printf("%d".::i); } } 7.object slicing 8.new 9.function overloading(return type). 10.class base() { virtuval fun() { ----- } } class derivied:public base() { fun() { ----- } } int main() { derived d; } 11.how static function will call in C++? 12.default structures are in C++? 13.constructors should be in public . 14.virtuval constructor not exist. 15.multilevel inhritence. destructor order.
why oops need in programming
Is enum a class?
What is abstract class in oops?
Child cObj = new Parent() Wahts the output ?
why function overloading is not called as pure polymorphism?
What are generic functions and generic classes?
Write a program to find out the number of palindromes in a sentence.
WAP to generate 2n+1 lines of the following pattern on the computer screen:
What is stream in oop?
write a programe to calculate the simple intrest and compund intrest using by function overlading
What are the two different types of polymorphism?