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

Are attributes inherited c#?

460


What is the difference between null and string empty in c#?

462


Is void a class?

473


What is static and use of it?

467


What is type cast in C#?

563






What is an interface class? Give one example of it

478


How to find out that the code is written as managed or un-managed code?

592


What do u mean by delegation of authority?

525


What is a singleton unity?

553


what is IDisposal interface

672


What is before string in c#?

490


Explain the role of Garbage collector and its generations?

516


in object oriented programming, how would you describe encapsulation?

555


What is type keyword in c#?

527


What is the difference between finally and finalize block?

510