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 to handle exception in c++,
For example in a functions i am assigning memory to some
variables and also in next instructions in am dividing one
variable also.
If this functions generates a error while allocating memory
to those variable and also while dividing the variable if i
divide by zero then catch block how it will identify that
this error has cone from perticular instruction


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More OOPS Interview Questions

What is solid in oops?

0 Answers  


class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash

0 Answers  


I hv a same function name,arguments in both base class and dervied class, but the return type is different. Can we call this as a function overloading? Explain?

3 Answers  


what is data hiding.

3 Answers   Wipro,


What is encapsulation selenium?

0 Answers  


Tell me the scenario,Where we can use interfaces or Abstract class.And What is the difference between interfaces and abstract class?

5 Answers  


OOP'S advantages of inheritance include:

1 Answers   Infosys,


What is new keyword in oops?

0 Answers  


What are the three main types of variables?

0 Answers  


What are the benefits of polymorphism?

0 Answers  


When is an object created and what is its lifetime?

4 Answers   IBM,


How would you stop a class from class from being derived or inherited.

18 Answers   Ness Technologies,


Categories