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 / shikha kataria

this program doesnot contain main() function.
so it cannot run

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to demonstrate the use of a variable?

1120


Do you need a main function in c++?

1122


what do you mean by volatile variable?

1050


What is the syntax for a for loop?

1142


Describe delete operator?

1091


What relational operators if statements in c++?

1180


What is the difference between ++ count and count ++?

1138


Is c++ double?

1035


What is the difference between an external iterator and an internal iterator? Describe an advantage of the external iterator.

1063


What does iomanip mean in c++?

1203


Does c++ have arraylist?

1017


What are friend classes? What are advantages of using friend classes?

1105


What does the following code do: int c=0; cout< a) Undefined *Updated* b) 01 c) 00

1068


What is the use of map in c++?

1150


What is the use of endl in c++ give an example?

1166