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. Si AIZA DIN< DI MARUNONG MAGTURO
View Tutorial          By: Agnes at 2010-06-25 22:34:29

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

3. it's real nice explanation
View Tutorial          By: Shreya at 2010-09-10 11:24:11

4. Dude, u xplaining lyk u already telling pros!Pls t
View Tutorial          By: Brianjambo at 2009-04-14 06:32:13

5. can you non grab the data direct from the vector w
View Tutorial          By: paul at 2013-08-30 11:22:04

6. plz show me my answers
View Tutorial          By: Debnita Saha at 2010-05-01 05:15:16

7. WHY You are using such huge code for suspending an
View Tutorial          By: pavan kurariya at 2010-01-14 00:35:55

8. please explain importance of java and explain it's
View Tutorial          By: sandhi.vijayanth reddy at 2012-10-01 16:30:54

9. Hi, I need the complete working code for sending a
View Tutorial          By: Balaji Srikaanth at 2007-03-10 01:22:35

10. Thanks a lot. In a very Simple way you explained.<
View Tutorial          By: Shoaeb uddin at 2012-01-13 18:53:45