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



Comment Added by : Ritchie

Comment Added at : 2012-05-09 14:14:49

Comment on Tutorial : Using realloc() Function in C By Charles
Shouldn't you call free() on the allocated memory block?
Yes, you should !!!
The example of this articles leads to a memory leak.


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. it works well thanks
View Tutorial          By: Zahran at 2011-12-08 03:07:07

2. Hey guys, can u help me out over here..
thi

View Tutorial          By: Ridge Fernandes at 2012-01-19 04:09:45

3. Excellent tutorial thank you very much.

View Tutorial          By: Edd at 2012-01-15 10:49:00

4. Thank you very much for explaning the things in su
View Tutorial          By: Sunil Yadav at 2010-05-27 04:04:31

5. hi everybody....

please use comm.j

View Tutorial          By: manoj at 2012-09-24 10:41:34

6. Very well Explained Thank you Hog .
View Tutorial          By: Asad at 2010-08-10 23:59:29

7. Its nice and really apriciate rakesh sir i try t
View Tutorial          By: prince at 2013-04-18 09:46:34

8. Hi fiends,
your given approch is correct .

View Tutorial          By: Amit Kumar Singh at 2011-10-10 04:44:58

9. VERY HELPFUL TO ME AND MY FRIENDS.
THANK YO

View Tutorial          By: mansi at 2009-12-23 00:35:43

10. Can you provide some more specific application of
View Tutorial          By: Rushikesh at 2012-01-15 18:23:36