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

What are libraries in c++?

1052


Do class method definitions?

1025


Define a constructor?

1039


Difference between class and structure.

1146


What are the advantages of prototyping?

1050


What is data structure in c++?

1134


What c++ library is string in?

1041


Write is a binary search tree? Write an algo and tell complexity?

1016


How can you link a c++ program to c functions?

1092


How do I run c++?

1050


What's the "software peter principleā€?

1135


Does c++ have string data type?

1093


What are the four main data types?

1076


What are structures and unions?

990


Explain public, protected, private in c++?

999