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 different between Implicit conversion and Explicit conversion in C#?

962


What are Indexers in C#?

985


What are the different types of assembly?

979


What is thread and explain states of a thread in c#?

803


Explain how to implement an object pool in c#.net

894


How does a while loop work?

823


What is uint c#?

845


From a versioning perspective, what are the drawbacks of extending an interface as opposed to extending a class?

914


What are the advantages of properties in c#?

905


What is type safe in c#?

827


What is thread safe in c#?

833


How can we sort an array in c#?

852


What are the Configuration files in .net?

911


What is a nested type. Give an example?

970


What is difference between dynamic and var in c#?

879