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. Nice explanation. And a good example to back it up
View Tutorial          By: fazil at 2009-07-29 00:32:03

2. Error loading SolarisSerial: java.lang.Unsatisfied
View Tutorial          By: koteshwar at 2011-02-05 05:33:19

3. Very good tutorial!
View Tutorial          By: Herve at 2011-04-04 08:06:21

4. This is a nice introduction. Thanks a lot.
View Tutorial          By: Provas Kumar Saha at 2010-04-26 02:38:34

5. getting the below

Thu Aug 28 23:24:

View Tutorial          By: sudswain at 2014-08-28 17:59:55

6. You are using "this" to start to the thr
View Tutorial          By: sumit at 2014-10-30 08:14:55

7. grazie!!!
View Tutorial          By: Egidio De Lorenzo at 2011-04-20 12:07:25

8. thanks this material is very helpful for me
View Tutorial          By: Anonymous at 2009-05-09 08:04:31

9. Thanks to the author, it was really a good tutoria
View Tutorial          By: Ashok Kumar at 2010-04-29 05:54:47

10. Nice post. I am learning so much things from your
View Tutorial          By: Umesh Kumar at 2012-03-15 11:16:24