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 does || mean in programming?

899


What is the difference between // comments, /* */ comments and /// comments?

802


Differentiate between sqlclient oledb and providers?

902


What is the difference between an integer and int?

854


What is anonymous types in c#?

861


Write a syntax for writing a event delegate.

887


What is a linq in c#?

826


What is a dynamic assembly?

908


What is xml serialization and deserialization in c#?

912


What is the advantage of constructor?

835


Write the difference between TypeOf and GetType?

992


What is method in c#?

826


How do you comment out code in c#?

850


How long does a loop recorder procedure take?

924


Differentiate between copy and default constructor.

971