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
What is console used for?
What is type keyword in c#?
How to sort an int array in c#?
What are the methods in c#?
Can we override interface methods in c#?
code for arranging given number in possible permutation ways ex:123,321,312,132,231,213.
What is extension method in c sharp?
When should I throw an exception?
Is null or empty in c#?
What is desktop application testing?
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?
What is console readkey ()?
Is string null or empty?
Why are strings in c# immutable?
How do you create empty strings in c#?