Comment on Tutorial - Using realloc() Function in C By Charles



Comment Added by : Erik

Comment Added at : 2011-02-12 07:16:20

Comment on Tutorial : Using realloc() Function in C By Charles
This is a bad example, it does not check if the allocation of memory worked. Also, you'd normally use malloc for the first allocation.

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. Gud one for beginners
View Tutorial          By: puneet at 2011-07-20 05:00:42

2. Precise information in the article, however it wou
View Tutorial          By: Ketan at 2009-06-23 05:07:39

3. Hi All,

This code is working fine i

View Tutorial          By: A.Balaji at 2010-09-27 04:40:38

4. It's simply nice.
View Tutorial          By: ghani at 2011-07-01 07:18:35

5. great job
i seriously feel that this site i

View Tutorial          By: saurabh at 2012-01-17 05:28:32

6. if done all the steps but i have found out this er
View Tutorial          By: hisham at 2010-11-24 11:01:54

7. its nice.. thank you so much.........
View Tutorial          By: rozen at 2010-04-14 11:21:07

8. I get theses errors and apparrently it cannot find
View Tutorial          By: Abhaya at 2013-02-20 22:42:18

9. i am converting from Visualbasic 6 to java web app
View Tutorial          By: Qui at 2010-01-05 07:26:07

10. Hello guys, the code above is the full complete co
View Tutorial          By: Dalma at 2012-10-03 02:50:33