What does assert() do?



What does assert() do?..

Answer / 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

More C Sharp Interview Questions

Define mutex in C#?

0 Answers  


Is int a class in c#?

0 Answers  


How can you force derived classes to provide new method implementations for virtual methods?

0 Answers  


What are nullable types? Is Nullable<int> I and int ?i are same.

2 Answers   TCS,


What is concrete class in c#?

0 Answers  






Can the nested class access, the containing class. Give an example?

0 Answers  


What are object oriented concepts?

6 Answers   Adea, Microsoft,


Why attributes are used in c#?

0 Answers  


What is ilist c#?

0 Answers  


How?s the DLL Hell problem solved in .NET?

1 Answers   Visual Soft,


Can structs in c# have destructors?

0 Answers  


update data in an xml file which resides in solution itself, using silverlight 4.0

0 Answers  


Categories