c++ program to swap the objects of two different classes
No Answer is Posted For this Question
Be the First to Post Answer
namespace is working on which compiler?
Why we use classes in oop?
What is abstraction in oops with example?
Given two strings like x=?hello? and y=?open?, remove any character from string x which is also used in string y, thus making the result x=?hll?.
suppose A is a base class and B is the derved class. Both have a method foo which is defined as a virtual method in the base class. You have a pointer of classs B and you typecast it to A. Now when you call pointer->foo, which method gets called? The next part of the question is, how does the compiler know which method to call?
What is stream in oop?
2. Give the different notations for the class.\
What is function overloading?,describe it with the example.
Difference between realloc() and free?
What is object-oriented programming? Webopedia definition
What are the three main types of variables?
what is a class