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

Should you protect the global data in threads? Why or why not?

2 Answers   IBM,


what is polymorphism?

4 Answers  


How oops is better than procedural?

0 Answers  


Can abstract class have normal methods?

0 Answers  


What is polymorphism in oop example?

0 Answers  


write a programe to calculate the simple intrest and compund intrest using by function overlading

0 Answers  


What does the code "cout<<(0==0);" print? 1) 0 2) 1 3) Compiler error: Lvalue required

15 Answers   ISTS, Wipro,


what is new modifier in C#

8 Answers   HCL,


• What are the desirable attributes for memory managment?

0 Answers  


What are the advantages of polymorphism?

0 Answers  


What is the importance of oop?

0 Answers  


What is encapsulation selenium?

0 Answers  


Categories