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

Define collections?

687


What is generic and non generic collections in c#?

635


What is void in c#?

761


How many types of namespaces available in version4?

718


What is xaml file in c#?

744


what is a static constructor?

903


What is a generic in c#?

710


Explain the process of inheriting a class into another class?

764


Why do we write system in c#?

697


When Should You Call The Garbage Collector In .net?

806


What is expression tree with example?

684


How can I develop an application that automatically updates itself from the web?

704


What are the types of serialization?

761


What is the difference between virtual and override in c#?

761


Is c# or c++ better for games?

661