amit prakash


{ City } bhubaneshwar
< Country > india
* Profession * orissa
User No # 44559
Total Questions Posted # 0
Total Answers Posted # 1

Total Answers Posted for My Questions # 0
Total Views for My Questions # 0

Users Marked my Answers as Correct # 3
Users Marked my Answers as Wrong # 0
Questions / { amit prakash }
Questions Answers Category Views Company eMail




Answers / { amit prakash }

Question { 4676 }

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

der's no main function so it cant run...

Is This Answer Correct ?    3 Yes 0 No