WHAT DOES ASSERT() DO?

Sanjay Sharma

Total Post:42

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

    Post:240

    Points:1200
    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!