Explain the virtual inheritance in c++.
No Answer is Posted For this Question
Be the First to Post Answer
what is data abstraction in C++?
wrong statement about c++ a)code removably b)encapsulation of data and code c)program easy maintenance d)program runs faster
You're given an array containing both positive and negative integers and required to find the sub-array with the largest sum (O(N) a la KBL). Write a routine in C for the above.
class A { public: void f(); protected: A() {} A(const A&){} }; Examine the class declaration shown above. Why are the default and copy constructors declared as protected? 1. To ensure that A cannot be created via new by a more derived class 2. To ensure that A cannot be copied 3. To ensure that A cannot be used as a base class except when public inheritance has been used 4. To ensure that A cannot be created/copied outside the inheritance chain 5. To ensure that A cannot be instantiated as a static variable
What is a driver program?
write the prime no program in c++?
What is private, public and protected inheritance?
What does new in c++ do?
What is the use of :: operator in c++?
What problem does the namespace feature solve?
Can I learn c++ without learning c?
What do you mean by friend class & friend function in c++?