C
Programming and Technical
Programming
Definition
Out of fgets() and gets() which function is safe to use
and why?
Read Solution (Total 1)
-
- fgets() function must be used because before using this you have to specify how much buffer you are going to use but in case of gets() function there can be a problem of buffer overflow and it won't even tell you about the problem.
- 7 years agoHelpfull: Yes(0) No(0)
C Other Question