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

Perform addition, multiplication, subtraction of 2-D array using Operator Overloading.

3862


What does int * mean in c++?

1229


Define virtual constructor.

1093


What is the difference between multiple and multilevel inheritance in c++?

1128


What is buffering in c++?

1059


What is meant by a delegate?

1086


Why can’t you call invariants() as the first line of your constructor?

1015


What are associate containers?

1020


What do nonglobal variables default to a) auto b) register c) static

1149


What is the difference between while and do while loop?

1150


Define vptr.

1028


Can static member variables be private?

1170


How c functions prevents rework and therefore saves the programers time as wel as length of the code ?

1090


Write my own zero-argument manipulator that should work same as hex?

1053


write a corrected statement so that the instruction will work properly. if (4 < x < 11) y = 2 * x;

2003