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



Related Tutorials

Java program to get location meta data from an image

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

Archived Comments

1. The smiple easy and best way is :)
--------

View Tutorial          By: Sandhya at 2012-06-21 06:08:25

2. It worked for me. Thanks a lot. Hi Sasikumar, I th
View Tutorial          By: Ramlak at 2007-03-05 01:53:14

3. This says nothing meaningful.

So ho

View Tutorial          By: Andreas at 2012-09-23 23:01:01

4. thanks....good explanation...
View Tutorial          By: jiby at 2012-01-14 05:57:33

5. does this code work with netbeans. if not can anyo
View Tutorial          By: Alton at 2010-04-02 22:36:57

6. Well the code is good but what if students start e
View Tutorial          By: nitin kumar sharma at 2015-07-15 06:58:18

7. Thanks mate !!!

-- Anish Sneh

View Tutorial          By: Anish Sneh at 2010-08-18 07:42:56

8. this is really very useful because of this site i
View Tutorial          By: meenakshi shukla at 2012-09-15 05:09:49

9. This is a great article that deals with the evolut
View Tutorial          By: JPS SASTRY at 2009-02-11 21:29:56

10. SMSC number is the sms center no. put the sim to a
View Tutorial          By: Java MAn at 2012-01-28 19:08:23