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 for the clear explanation..
Really h

View Tutorial          By: Swj at 2011-12-30 05:55:26

2. Can anybody help me to send the code for email sen
View Tutorial          By: satendra at 2010-03-23 02:46:18

3. This is a cool tutorial ! :) But I think in this s
View Tutorial          By: ngocanh at 2013-07-11 02:33:06

4. Very Useful example, Thanks
View Tutorial          By: Prabhat Kumar Singh at 2011-12-21 20:44:00

5. God bless u man! :)
View Tutorial          By: me at 2015-07-29 13:25:00

6. Very Useful tutorial for beginners.. Thanx
View Tutorial          By: Rohini at 2010-02-23 23:16:16

7. I like this tutorial, it is self explaining. good
View Tutorial          By: Nikia at 2013-01-25 20:04:30

8. thnks a lot...
View Tutorial          By: iti at 2015-06-03 07:05:24

9. nice tutorial
View Tutorial          By: Amit at 2010-04-16 04:48:52

10. hi can any one help me how i can install javax.co
View Tutorial          By: Jewel at 2008-02-26 21:52:17