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. the default construrctor does not give the defalut
View Tutorial          By: muhammad abdullah at 2011-04-11 13:16:20

2. its very good example explains what is an abstarct
View Tutorial          By: sandeep at 2012-01-06 07:13:29

3. How to connect a webpage(which I have created for
View Tutorial          By: sam at 2012-01-24 10:10:52

4. sir will you please tell me how i get out of all t
View Tutorial          By: mitali at 2012-05-06 09:54:49

5. Hi
Thankyou for your code. Its good.

View Tutorial          By: Rajeshkumar at 2010-01-29 22:34:17

6. Its not working for me, also tried things written
View Tutorial          By: webian at 2010-01-24 10:33:23

7. it's emergency
plz explain delimiter in tok

View Tutorial          By: sajad at 2013-02-03 05:56:44

8. can you have a user input tutorial for LinkedList]
View Tutorial          By: joedjoaquin at 2013-01-22 01:59:23

9. thank you very much....
View Tutorial          By: divya at 2013-01-06 15:50:43

10. good job
View Tutorial          By: gopi at 2008-07-01 02:02:48