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. Thanks a lot, a long time I search for solution fo
View Tutorial          By: Jonhnes at 2013-02-16 17:17:47

2. sir , i'm doing BCA . I want to learn more about
View Tutorial          By: gayatri patil at 2012-08-18 10:08:32

3. Hi,

I am getting error "Sender

View Tutorial          By: Jose at 2008-05-26 08:17:48

4. Hi Daniel,

Please suggest me, inste

View Tutorial          By: Pradeep at 2013-12-05 07:35:32

5. Please guys i need sms.zip. I tried SMS.RAR but al
View Tutorial          By: Waseem at 2010-03-06 15:48:40

6. while i am executing this program i am getting Nul
View Tutorial          By: Seema at 2013-11-26 18:39:15

7. At a writing of the big program in a team comments
View Tutorial          By: vlad at 2011-05-13 12:29:01

8. How can I store a file in device internal memory a
View Tutorial          By: Fabio at 2014-11-20 11:25:41

9. Hi VIKRAM, You cannot use your sim card number the
View Tutorial          By: Ramlak at 2007-03-29 00:38:55

10. thank you for ur programs.........
View Tutorial          By: NAGARAJRATHINARAJ at 2012-01-24 14:39:19