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

How is exception handling carried out in c++?

Answer Posted / achal ubbott

Exception handling is not a must of programming. But it is
a cleaner way of getting signal if something goes wrong in
the code. Prior to exceptions people used return values of
functions for reporting errors to application using the
classes inside libraries. The application would call some
function(defined inside class) from within try bock. Now if
something goes wrong then the function(defined inside the
class) would throw an exception. This exception is then
handled by catch block in the application.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

State what is encapsulation and friend function?

1197


how to get the oracle certification? send me the answer

2113


Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box

2558


What is the important feature of inheritance?

1078


What is cohesion in oop?

1010


What is the difference between procedural programming and oops?

1071


What is abstraction and encapsulation?

948


Why do we need oop?

1119


What is abstraction in oop with example?

1068


What is difference between polymorphism and inheritance?

1026


Whats is abstraction in oops?

1028


What is interface in oop?

1079


What is class and object with example?

1067


What is the difference between encapsulation and polymorphism?

1052


What is the real life example of polymorphism?

1119