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\"; }
};
Answer Posted / amit prakash
der's no main function so it cant run...
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Is map thread safe c++?
Explain the difference between static and dynamic binding of functions?
What is a manipulative person?
Is it possible for the objects to read and write themselves?
What it is and how it might be called (2 methods).
What are the storage qualifiers?
What is the extraction operator and what does it do?
Is c++ vector a linked list?
What is vectorial capacity?
What should main() return in c and c++?
Explain queue. How it can be implemented?
Which is the best c++ software?
How many types of classes are there in c++?
Why c++ is created?
Evaulate: 22%5 a) 2 b) 4 c) 0