Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

C

Question: 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.
Is it helpful? Yes No

Most helpful rated by users:

©2024 WithoutBook