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 i understood
View Tutorial          By: raksha at 2012-11-04 16:44:19

2. I dont want my client using my application to do a
View Tutorial          By: zaffa at 2011-07-27 06:52:09

3. i am getting a force close...can anyone please hel
View Tutorial          By: jack at 2012-03-22 15:18:37

4. char *s;
s=(char *) melloc(sizeof(char)*3);

View Tutorial          By: URS at 2011-08-24 12:32:55

5. Nice example but does not work on me, after execut
View Tutorial          By: Junjie Zhang at 2012-01-10 03:26:12

6. very nice
View Tutorial          By: Md Irshad Alam at 2014-10-29 18:58:53

7. Hi All..
Wen i'm running the code..the foll

View Tutorial          By: mounika at 2008-04-26 14:27:30

8. when i copy paste your program or source code

View Tutorial          By: Zordan at 2011-03-17 04:28:08

9. hi,

i'm a jmeter my test i

View Tutorial          By: mahesh at 2015-03-06 16:58:05

10. hi i m vinit jain. i m working on the same project
View Tutorial          By: vinit jain at 2010-02-09 12:16:01