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 a web service in c#?

1121


How can you read 3rd line from a text file?

979


Name the method of servicebase class?

986


What are some of the commonly used commands in sqlcommand?

892


Why do we use abstraction in c#?

896


what is the index value of the first element in an array?

906


What is a datacontract?

921


Why is ienumerable used?

875


How do you create user defined data types in c#?

998


Explain Direct CAST vs CType ?

1030


What is collection of classes in c#?

992


What is the advantage of generics in c#?

896


What is difference between list and dictionary in c#?

864


Why main is static in c#?

1031


What is private virtual in C#?

1002