What does assert() do?



What does assert() do?..

Answer / abhi

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

Post New Answer

More C Sharp Interview Questions

What statements can enclose a "continue" statement?

3 Answers   Fortech,


How do you create dlls in .NET

0 Answers   Digital GlobalSoft,


What is parsing?

0 Answers  


why sturcture ? why class?why you prefer structure and in which cases u go for class?

1 Answers   Microsoft,


What is a c sharp?

0 Answers  






How do I make a dll in c#?

0 Answers  


What is the difference between integer and double?

0 Answers  


Describe two uses of the “using” statement during the operation of c#?

0 Answers  


How to call a function when a class implements 2 interfaces and function is present in both interfaces?

2 Answers  


How are Windows programs different from normal C-programs?

0 Answers   Tech Mahindra,


What is InterFace???

12 Answers  


how to access the virtual method without creating the objet for the virtual method?

1 Answers  


Categories