warning:gets function is dangerous

Posted by gcc on Stack Overflow See other posts from Stack Overflow or by gcc
Published on 2010-05-16T08:38:47Z Indexed on 2010/05/16 8:40 UTC
Read the original article Hit count: 140

Filed under:

When i use gets function,gcc gives me a warning:

warning:the `gets' function is dangerous and should not be used.

Why gets and puts function dangerous?

© Stack Overflow or respective owner

Related posts about c