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?

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


Please Help Members By Posting Answers For Below Questions

What is console used for?

1063


What is type keyword in c#?

957


How to sort an int array in c#?

1004


What are the methods in c#?

1010


Can we override interface methods in c#?

901


code for arranging given number in possible permutation ways ex:123,321,312,132,231,213.

2226


What is extension method in c sharp?

938


When should I throw an exception?

1045


Is null or empty in c#?

1006


What is desktop application testing?

963


You have got 1 million parking slots. At a time a parking slot can be free or not. To get next slot easily which data structure to implement?

1122


What is console readkey ()?

1016


Is string null or empty?

967


Why are strings in c# immutable?

983


How do you create empty strings in c#?

980