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. Thanx..very useful in this pgm..
View Tutorial          By: priya at 2013-02-06 10:54:44

2. nice code. code is running perfectly. but my probl
View Tutorial          By: Avinash at 2013-01-28 07:30:19

3. I changed import javax.comm.*; for this line impo
View Tutorial          By: Julen at 2010-07-18 18:39:25

4. Gives a syntax error
View Tutorial          By: Siddharth at 2015-06-10 05:15:00

5. I am using RMS but in my case i have to show 10 re
View Tutorial          By: Hemant at 2012-08-14 05:46:40

6. how to run it on command prompt...i tried but it i
View Tutorial          By: gk at 2013-11-15 15:54:51

7. Thank you very much. Now I know how to make an abs
View Tutorial          By: Alex at 2011-01-17 03:35:22

8. Thanks for this. I was checking and double checkin
View Tutorial          By: Alex at 2011-07-10 09:03:56

9. Good explanation on how to parse.

Y

View Tutorial          By: Sravan at 2010-10-05 05:16:39

10. why treeSet always disply ascending order?
View Tutorial          By: swati at 2013-07-18 04:57:37