Vidyalelo
C++ Programming · Q399

C++ miscellaneous

Programming · C++ Programming · question 399

Q399

When exceptions are used?

A.
To preserve the program
B.
Exceptions are used when postconditions of a function cannot be satisfied
C.
Exceptions are used when postconditions of a function can be satisfied
Answer
D.
Exceptions are used when preconditions of a function cannot be satisfied

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board