In debug compilation, assert takes in a Boolean condition as a parameter, and shows the error dialog if the condition is false. The program proceeds without any interruption if the condition is true.
Liked By
Write Answer
What does assert() do?
Join MindStick Community
You have need login or register for voting of answers or question.
Pushpendra Singh
30-Oct-2010