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...

catch(exception &e)
{
. . .
}
Referring to the sample code above, which one of the
following lines of code produces a written description of
the type of exception that "e" refers to?
a) cout << e.type();
b) cout << e.name();
c) cout << typeid(e).name();
d) cout << e.what();
e) cout << e;

Answer Posted / santhoo035

ans:c

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which should be more useful: the protected and public virtuals?

982


In the derived class, which data member of the base class are visible?

1071


Explain the operation of overloading of an assignment operator.

1113


Explain "const" reference arguments in function?

1000


Is it possible to have a recursive inline function in c++?

979


What does the linker do?

985


Write some differences between an external iterator and an internal iterator?

973


Write a program in C++ for Fibonacci series

1141


Can we get the value of ios format flags?

1075


Explain the difference between struct and class in terms of access modifier.

1134


What does the following do: for(;;) ; a) Illegal b) Loops forever c) Ignored by compiler...not illegal

1120


How much do coding jobs pay?

968


What are the two main components of c++?

1062


What is an accessor in c++?

1023


What is the main function c++?

1070