what is the difference between ERROR and EXCEPTION?
Answer Posted / amitdubey
Errors are the mistakes we make in our progra
ms which we come to know in compile time and exception are the eroors that takes place during runtime.
they can be handled by exception handling
Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
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
What is basic concept of oop?
when to use 'mutable' keyword and when to use 'const cast' in c++
Whats oop mean?
Why is destructor used?
What is multilevel inheritance?
What is protected in oop?
What is abstraction in oop?
Why multiple inheritance is not possible?
How long to learn object oriented programming?
Why is abstraction needed?
What is persistence in oop?
What is pointer in oop?
What is the purpose of polymorphism?
What is the point of oop?