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

Where are all .NET Collection classes located ?

8 Answers   TCS,


Differentiate between dataset and datareader?

0 Answers  


What exception can an overridden method throw in comparison with the method it is overriding?

0 Answers   Changepond,


What is window application in c#?

0 Answers  


What is difference between array and collection in c#?

0 Answers  


Explain the difference between private and shared assembly?

0 Answers  


Differentiate between method overriding from method overloading with its functionality?

0 Answers   Siebel,


What is cache memory in c#?

0 Answers  


how to Create a datagridview control with check box column with 8rows in it, the maximum number of check boxes checked should be 3, when user checks the 4th corresponding message should be displayed and check box should be checked. User can uncheck the checked boxes Note: read-only property should not be used

0 Answers   HCL, NIC,


What does async mean in c#?

0 Answers  


How long does it take to learn c# programming?

0 Answers  


Write a program in C# for checking a given number is PRIME or not.

0 Answers  


Categories