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

What is enum class in c++?

1256


Can turbo c++ run c program?

1098


Describe the advantages of operator overloading?

1048


Which software is best for c++ programming?

1050


What is the difference between struct and class?

1560


Write a program to find the reverse Fibonacci series starting from N.

1274


What is the use of endl in c++?

1023


Difference between struct and class in terms of access modifier.

1194


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

1108


What is exception handling? Does c++ support exception handling?

1033


List different attributes in C++?

1097


How do you establish an is-a relationship?

1159


Why is c++ considered difficult?

1149


Define a pointer to a data member of the type pointer to pointer?

989


What problems might the following macro bring to the application?

1057