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. I take it English is not your 'hardcore', because
View Tutorial          By: Fred at 2013-01-17 14:49:09

2. This explanation is simple and very useful.
View Tutorial          By: kiran at 2015-02-22 20:47:13

3. I want to change software of micromax x455 mobile
View Tutorial          By: Sachin at 2012-12-29 09:39:58

4. Hi,first of all thats for this code developer, its
View Tutorial          By: Kathir at 2008-02-08 06:16:51

5. Thankyou it is Working Fine .....
View Tutorial          By: PDCOE at 2009-02-11 23:02:29

6. this works

View Tutorial          By: Aeron at 2013-10-20 04:50:51

7. Good Luck.........

by Nagarajan(

View Tutorial          By: nagarajan at 2011-06-21 12:14:39

8. Hi thanks for the example for overriding toString(
View Tutorial          By: Reshma at 2011-05-11 10:46:08

9. Please resolve this problems :


View Tutorial          By: madhusudhakar at 2014-10-24 06:11:10

10. 0
View Tutorial          By: zareen at 2011-08-20 08:27:28