What does assert() do?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Is it not possible to store a boolean value as a variable?

632


Explain how do you debug an asp.net web application?

672


What is the main usage of keyword “virtual” ? How does it work for a method or property?

713


What Is An Interface Class?

783


Is null or empty in c#?

743


what is be the overhead, if i use binary transmission. and will it be sent using xml text or how ?

1884


Hello! How to do this: "Create manifest utility intended for creating update content files. Application should take a set of files as input parameter and generate XML based manifest file as output one." I use C# and vs.net 2003. It's urgent! Help please, thanks. Mayana

1696


Why do I get a security exception when I try to run my c# app?

769


What is array and arraylist?

747


What is #region in c#?

686


Define constructor in c#.

689


Which class comes after the SortedList class?

753


In the page load event I assigned dropdownlist’s datasource property to a valid list. On the submit button click.. The same datasource property is coming as null. Why?

673


Can abstract class have parameterized constructor?

692


HOW to Develope the CRUD(create,read,update,delete) FORM IN WINDOWS form by using c# only

739