Comment on Tutorial - assert() Function Example program in C By Jagan



Comment Added by : czx

Comment Added at : 2010-09-17 07:23:20

Comment on Tutorial : assert() Function Example program in C By Jagan
"If you enter zero, the assert() macro forces abnormal program termination."

It's not true, please fix.

This is the code:
assert(x >= 0);

assert will be triggered ONLY with negative value.


View Tutorial



Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. very good description ,clear and simple
View Tutorial          By: swapnil at 2011-06-24 06:33:10

2. lllllllllllllllllllllllllllllike
View Tutorial          By: duck at 2015-04-10 19:19:47

3. please let me know the complete refernce with samp
View Tutorial          By: NARI at 2009-04-11 23:50:03

4. @mahesh yes you can use this to connect to any db
View Tutorial          By: Rita sen at 2012-01-05 05:18:13

5. nice one ...
View Tutorial          By: vamsi at 2011-11-11 06:41:25

6. Hi,.
No Change yaar, Im still getting the s

View Tutorial          By: Dinesh Rajendiran at 2012-03-23 05:19:06

7. how we can store a pdf file into database

View Tutorial          By: neelima at 2010-03-10 23:46:52

8. its a good example
View Tutorial          By: Sonal at 2009-03-25 08:35:10

9. nice tutorial man !
View Tutorial          By: yash at 2012-11-10 05:08:31

10. thanks for your code
could you send me the

View Tutorial          By: diana jeng at 2009-04-21 03:50:39