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 is c++ used in the real world?

981


Please explain the reference variable in c++?

1019


Why c++ is better than c language?

955


Is c++ a difficult language?

1044


Define whitespace in C++.

1144


Give the difference between the type casting and automatic type conversion. Also tell a suitable C++ code to illustrate both.

1001


Arrange Doubly linked list in the ascending order of its integral value and replace integer 5 with 7?

4071


Why c++ is faster than java?

1007


How does code-bloating occur in c++?

1134


How to get the current position of the file pointer?

975


Name the implicit member functions of a class.

1032


What is the latest c++ standard?

1087


Explain the difference between c & c++?

1020


Explain the difference between new() and malloc() in c++?

1070


What is the size of a vector?

1060