Home » C Programming » Input / Output

Out of fgets() and gets() which function is safe to use?

Correct Answer: fgets()

Explanation:

Because, In fgets() we can specify the size of the buffer into which the string supplied will be stored.

← Previous Question Next Question→

More Questions from Input / Output

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion