Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What does assert() do?

Answers were Sorted based on User's Feedback



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

What does assert() do?..

Answer / akshay

assert() is mainly used for debugging the code. The expression is given in the brackets and if the expression becomes false the Assertion Failure takes place. Which simply terminates the application giving file name and line number.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

What is get set in c#?

0 Answers  


What is jagged array in c#?

0 Answers  


Can we override main method in c#?

0 Answers  


What is difference between array and arraylist c#?

0 Answers  


When do you generally use a class over a struct?

0 Answers  


What's the difference between abstraction and encapsulation?

0 Answers  


Explain the OOPS concept in C#?

0 Answers   HCL,


List down the differences between public, static and void keywords?

0 Answers  


What does public mean in c#?

0 Answers  


In which order the constructor is called for an inherited class?

0 Answers  


What is class method?

0 Answers  


What is dbml file in c#?

0 Answers  


Categories