Explain public, protected, private in c++?
No Answer is Posted For this Question
Be the First to Post Answer
Can we define a constructor as virtual in c++?
What is problem with overriding functions?
What is #include sstream?
Can user-defined object be declared as static data member of another class?
What is null pointer and void pointer?
Is c++ the most powerful language?
What is prototype in c++ with example?
what is a class? Explain with an example.
What is prototype for that c string function?
What is basic if statement syntax?
what is polymorphism?
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\"; } };