If horse and bird inherit virtual public from animal, do their constructors initialize the animal constructor? If pegasus inherits from both horse and bird, how does it initialize animal’s constructor?
No Answer is Posted For this Question
Be the First to Post Answer
Write a Program for dynamically intialize a 2 dimentional array. Eg:5x20, accept strings and check for vowels and display the no.finally free the space allocated .
Is main a class in c++?
whats the size of class EXP on 32 bit processor? class EXP { char c1; char c2; int i1; int i2; char *ptr; static int mem; };
What is the two main roles of operating system?
What is the output of this prog. ? struct A { A(){ cout << \"A\"; } }; struct B { B(){ cout << \"B\"; } }; struct C { C(){ cout << \"C\"; } }; struct D { D(){ cout << \"D\"; } }; struct E : D { E(){ cout << \"E\"; } }; struct F : A, B { C c; D d; E e; F() : B(), A(),d(),c(),e() { cout << \"F\"; } };
How do you allocate and deallocate memory in C++?
What is the difference between delegation and implemented-in-terms-of?
What is the difference between strcpy() and strncpy()?
Distinguish between new and malloc and delete and free().
When to use Multiple Inheritance?
What is the function to call to turn an ascii string into a long?
What is the difference between set and map in c++?