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 want code to Migration from IPV4 to IPV6 at appl
View Tutorial          By: i want code , can you send me at 2015-01-23 14:38:48

2. could u help me i want to integrate the paypal sys
View Tutorial          By: Anand at 2011-01-17 21:59:25

3. pls send more tutorial on my id
View Tutorial          By: vipin at 2012-11-17 07:23:49

4. Hi MR,are you have java code to read sms...... tha
View Tutorial          By: ronized at 2008-12-29 16:59:27

5. Muy buen ejemplo, aunque como idea general podr&At
View Tutorial          By: Ligator at 2013-07-26 05:57:47

6. how to refresh the radiobuttons during the run tim
View Tutorial          By: Vishnupriya at 2009-02-04 03:25:24

7. It would he helpful to know difference between a l
View Tutorial          By: Tosh at 2012-04-28 18:00:20

8. Nice article..
View Tutorial          By: senthil at 2009-09-09 00:22:40

9. Article from Java Complete Reference
View Tutorial          By: venkatesh at 2013-06-04 01:29:02

10. Please, if it is incomplete, can you please send m
View Tutorial          By: Marcio at 2009-03-01 09:06:45