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 sub classing in c++?

1 Answers  


What is oops and why we use oops?

0 Answers  


How to use CMutex, CSemaphore in VC++ MFC

0 Answers   Persistent, TCS,


what are the disadvantages of C++?

25 Answers   ATS, Infosys, UNI, Wipro,


design class for linked list and include constructor,destructor,insert option. struct node { int node; struct node &ptr; }

1 Answers   HSBC,






Differences between inline functions and non-inline functions?

4 Answers   Ness Technologies,


What's the full form of STL?

2 Answers  


Prepare me a program for the animation of train

0 Answers  


What are the benefits of interface?

0 Answers  


What is persistence in oop?

0 Answers  


what is runtime polymorphism? For the 5 marks.

3 Answers  


Why do we use class in oops?

0 Answers  


Categories