Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Is map thread safe c++?

1070


Explain the difference between static and dynamic binding of functions?

1052


What is a manipulative person?

997


Is it possible for the objects to read and write themselves?

1087


What it is and how it might be called (2 methods).

1168


What are the storage qualifiers?

1153


What is the extraction operator and what does it do?

1079


Is c++ vector a linked list?

989


What is vectorial capacity?

1157


What should main() return in c and c++?

1015


Explain queue. How it can be implemented?

1144


Which is the best c++ software?

1086


How many types of classes are there in c++?

1034


Why c++ is created?

988


Evaulate: 22%5 a) 2 b) 4 c) 0

1081