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. Nice Article....
View Tutorial          By: Vipin Joshi at 2008-04-13 15:35:42

2. I want to know about all java application.
View Tutorial          By: Ahasan at 2009-04-10 09:42:48

3. hi all m getting following error ,
can anyo

View Tutorial          By: raj at 2008-11-04 21:46:12

4. Just read the first page, It really attractive. Le
View Tutorial          By: Md. Sumon Bappi at 2015-05-13 10:47:00

5. Hi,
Please tell me how to execute the above

View Tutorial          By: DurgaPrasad at 2011-11-24 06:04:48

6. good example..easy to understand
View Tutorial          By: aleena at 2010-07-24 21:56:01

7. How can you print this using recursion?

View Tutorial          By: Menon at 2011-09-08 07:16:02

8. In your AndroidManifest.xml file you will have to
View Tutorial          By: Ashley at 2011-07-21 02:47:49

9. You have clear my confusion by using simple codes!
View Tutorial          By: salahu.kt at 2010-09-28 07:33:55

10. Hi All could you pls. send the execution of the ab
View Tutorial          By: subbu at 2008-01-28 03:14:27