| |
Answer/Explaination
:
Runtime error: Abnormal program termination.
assert failed (i<5),
,
(Exp):
asserts are used during debugging to make sure that certain conditions
are
satisfied. If assertion fails, the program will terminate reporting
the same.
After debugging use,
#undef NDEBUG
and this will disable all the assertions from the source code.
Assertion
is a good debugging tool to make use of.
|
|