InterviewSolution
Saved Bookmarks
| 1. |
What Does Assert() Do? |
|
Answer» 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. 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. |
|