WHAT DOES ASSERT() DO?

Sanjay Sharma

Total Post:42

Points:210
Posted by  Sanjay Sharma
 1315  View(s)
Ratings:
Rate this:
  1. Pushpendra Singh

    Post:241

    Points:1205
    What does assert() do?

    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.

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!