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. This works perfect for me. The only big problem is
View Tutorial          By: Eric at 2014-11-20 03:49:19

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

3. As C does not support Function Overloading, there
View Tutorial          By: N at 2013-03-06 00:27:14

4. Create a lexical analyzer of the C- programming la
View Tutorial          By: lucky at 2011-05-06 23:05:22

5. I am developing a system for paying electric bill
View Tutorial          By: Isaya at 2007-03-26 01:11:59

6. haiiiiiiiii sir , i have error in this program, er
View Tutorial          By: Vinod at 2012-07-31 12:23:19

7. Easy to understand........ thanks man
View Tutorial          By: vikash bhardwaj at 2013-06-25 07:07:54

8. its so nice
View Tutorial          By: senthilkumar at 2010-11-11 02:44:37

9. great work..keep it up.
View Tutorial          By: faizaan at 2011-04-29 12:23:39

10. A good Article..........

Thanks!!

View Tutorial          By: Pravesh at 2011-12-08 03:34:01