Can private class be inherited?
No Answer is Posted For this Question
Be the First to Post Answer
What does I oop mean?
#include <iostream> using namespace std; struct wow { int x; }; int main() { wow a; a.x = 22; int c = a.x; int *b = new int; cout << c; return 0; } option: No output 0 22 -(11) Will not compile
can you give the dynamic polymorphism types?
create a class complex having real and imaginary part of a complex no. as a data member. overload the binary operators(+,- and *) to perform the operations on complex no. objects. overload binary operator using friend function.
2 Answers CTS, Delhi University,
define a string class. overload the operator == to compare two strings
2 Answers Birla, Ericsson, HCL, Infosys, Infotech, MCAS, Satyam,
wht is ditch
How do you achieve runtime polymorphism?
why c++ is called OOPS? waht is inherutance? what is compiler?
What is the output of the following code: int v() { int m=0; return m++; } int main() { cout<<v(); } 1) 1 2) 0 3) Code cannot compile
What are the two different types of polymorphism?
What is the difference between Home and $Home?
What is polymorphism give a real life example?