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. Thanks it worked. Just remember to restart apache
View Tutorial          By: Raj at 2014-02-08 08:42:26

2. This is pretty straightforward and got me to under
View Tutorial          By: Renoir Boulanger at 2009-09-01 09:49:24

3. i like this a lot
View Tutorial          By: raj at 2011-05-06 06:15:36

4. nice example..
View Tutorial          By: righana at 2011-07-19 08:46:50

5. Thanks this article helped (just needed to know wh
View Tutorial          By: sushi at 2008-12-17 08:09:51

6. Sir, I need to use MS Access as a database in java
View Tutorial          By: John Moses at 2012-03-31 00:20:38

7. Hello guys, I'm developing java program to send SM
View Tutorial          By: Rania at 2010-09-08 09:04:47

8. To "need help":

String s

View Tutorial          By: Mike at 2010-10-14 20:09:31

9. Hi Johnny,

did you check whether th

View Tutorial          By: Frank at 2010-11-13 13:16:57

10. A more complete description of the common pitfalls
View Tutorial          By: Phil at 2012-11-25 02:06:49