Comment on Tutorial - Using realloc() Function in C By Charles



Comment Added by : Luke

Comment Added at : 2011-11-21 09:03:38

Comment on Tutorial : Using realloc() Function in C By Charles
Looks good, but don't use gets(). gets() is responsible for the world's problems. Use fgets() and specify the buffer. Otherwise, some nasty fellow will be inclined to overstep the bounds of your array.

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. write a program to prepare the student marks for s
View Tutorial          By: belgreen frodo at 2015-03-31 05:41:05

2. u hav done Nice job..
View Tutorial          By: Rakesh at 2012-10-01 16:00:14

3. i am new to java plz give any sample and simple ja
View Tutorial          By: sham at 2012-03-20 02:30:20

4. Log onto incoming mail server(POP3) - failed
View Tutorial          By: dragos at 2012-12-13 10:41:59

5. Hi,

Thanks a lot to the writer of t

View Tutorial          By: Bhushan at 2007-04-27 04:56:00

6. Hello,
I want to attend Sun certified Java

View Tutorial          By: Ganeshraje Bhosale at 2015-08-17 05:22:00

7. hi,
How to create certificate from https://

View Tutorial          By: CN Balu Ramesh at 2011-07-19 08:38:31

8. Thanks ,It is very useful...
View Tutorial          By: SABARISH at 2014-08-08 05:46:43

9. Good examples. However... I am testing for a Hex v
View Tutorial          By: Doug Whitehead at 2008-11-29 17:10:43

10. Can u tall me about the job market of J2ME.
View Tutorial          By: mimdad07 at 2009-06-26 14:40:26