What does assert() do?

Answer Posted / guest

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 This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does it mean to override a method?

665


What is difference between an Structure and Class?

790


What are the benefits of using windows services:

755


List down the differences between “dispose” and “finalize” methods in c#.

636


Why do we still see so much non-oo code written in c# today?

706


What are nested classes in c#?

745


What is private class in c#?

674


State whether it is true to test a Web service you must create a windows application or Web application to consume this service or not?

695


What are the principles of delegation?

712


Why would you use untrusted verification?

717


How many variables do you need?

703


Can You Prevent Your Class From Being Inherited By Another Class?

733


What is static variable in c#?

689


Which is faster dictionary or hashtable?

651


What is lambda expression in c#?

716