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. Controlling Page Navigation in JSF - Static and Dy
View Tutorial          By: chip at 2010-10-07 05:16:14

2. hi ashraf , ramlak and all,
i m new here .

View Tutorial          By: hemendra at 2009-12-28 21:59:34

3. could somebody please tell a case where memcpy() w
View Tutorial          By: freak at 2011-02-09 20:29:26

4. good but you don't express the programs examples
View Tutorial          By: anchal at 2010-09-29 02:40:02

5. Thanks, Just what i was looking for.
View Tutorial          By: Baapu at 2009-10-21 15:21:43

6. How can i use this code to send multiple sms using
View Tutorial          By: Shoaib at 2014-03-07 19:49:11

7. Hello! May I know where is the "main" fu
View Tutorial          By: Angelia at 2009-06-25 18:54:28

8. Thx, this helped a lot.

How can I I

View Tutorial          By: Marko at 2008-10-09 01:32:37

9. Hello,

I've got javax.comm and fol

View Tutorial          By: Ashkan at 2009-12-19 21:51:19

10. it is perfectly working...
View Tutorial          By: Venkatesh at 2014-09-21 06:54:39