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. Thanks. Helped me save few hours
View Tutorial          By: Balan at 2008-04-07 18:25:08

2. can you help me in codings for get an output like
View Tutorial          By: Sudhar at 2011-08-24 05:47:53

3. HI can you send "send sms" program throg
View Tutorial          By: Nishanth Chandran Poduval at 2010-04-15 00:31:33

4. javax.microedition.media.MediaException: Malformed
View Tutorial          By: adi at 2012-04-01 11:51:17

5. Really clear and lucid explanation abt realloc ...
View Tutorial          By: metarus208 at 2012-01-01 14:25:25

6. my question is the same of sajjad.what about (!iss
View Tutorial          By: hossain at 2012-04-26 04:28:56

7. very good explanation,very good examples..
View Tutorial          By: sra1 at 2011-11-14 08:30:47

8. very useful example. Thanks for this help.
View Tutorial          By: Saurabh at 2010-04-23 04:50:13

9. There are so many posts about the same problem (i
View Tutorial          By: Matt at 2010-04-30 09:52:16

10. Thnx Ramlak,but be ware about syntax errors.
View Tutorial          By: Saber at 2008-11-03 07:45:23