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 ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the difference between proc. Sent by val and by sub?

559


What is extended class in c#?

559


What is array and arraylist?

626


What is type checking in c#?

595


How to transpose multi-dimensional array?

632






How many types of constructors are available in c#?

637


In which order the destructor is called for an inherited class?

604


Is a dll an assembly?

561


What is variable and its classification?

622


What is class method?

546


Why delegates are safe in c#?

531


What are object pooling and connection pooling and difference between them?

597


Explain the top reason to use c# language?

606


What is appdomain in c#?

574


What is the advantage of static class in c#?

581