Under what conditions is multiple inheritance not recommended?
Answer / ackmed
If you derive from more than one base classes with the same
parent, then that parent should be a virtual base class.
| Is This Answer Correct ? | 4 Yes | 0 No |
Define a conversion constructor?
What are shallow and deep copy?
Is java a c++?
class Foo { public: Foo(int i) { } }; class Bar : virtual Foo { public: Bar() { } }; Bar b; Referring to the above code, when the object 'b' is defined, a compiler error will occur. What action fixes the compiler error? a) Adding a virtual destructor to the class Bar b) Adding a constructor to Bar which takes an int parameter c) Adding "Foo()" to the Bar constructor d) Adding a copy constructor to the class Foo e) Adding "Foo(0)" to the Bar::Bar initializer list
Where Malloc(), Calloc(), and realloc() does get memory?
write a program that a 5 digit number and calculates 2 power that number and prints it.
2 Answers Vimukti Technologies,
What is a far pointer? where we use it?
What is scope of a variable? (LOLZ)
reading material is provided 3 books for c++ if u need more do let me know thnx i hve lots of material do let me know if u want it
Is it possible to pass an object of the same class in place of object reference to the copy constructor?
difference between the c++ and c languages
What is conversion constructor?