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. hey plzz help me the code is not working for me...
View Tutorial          By: kuldeep at 2014-02-24 18:16:59

2. dis prgrm is not giving me any ouput..i need to re
View Tutorial          By: singh at 2015-02-19 12:16:31

3. <%!
DateFormat date = DateFormat.getDat

View Tutorial          By: saifuctg at 2011-12-30 22:24:54

4. hi,

i have a problem. I have the ti

View Tutorial          By: Felipe at 2010-02-18 05:03:51

5. Try to copy libmysql.dll to \apache\bin also. I di
View Tutorial          By: SileNT at 2009-05-05 14:34:16

6. Thanks, it solved my problem with "sun.securi
View Tutorial          By: haasdg at 2013-10-29 14:12:51

7. Thank for your clear explanation
View Tutorial          By: htnga at 2009-04-05 18:43:25

8. sir plz give ur sugissions for my golden future in
View Tutorial          By: sridevi at 2012-06-06 10:26:36

9. thank u.actually i want little more...
View Tutorial          By: burhan at 2010-07-13 03:46:01

10. that was useful to me, thank you so much .
View Tutorial          By: ahmed at 2010-01-11 15:59:42