Curioustab
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Home
»
C Programming
»
Input / Output
Out of fgets() and gets() which function is safe to use?
gets()
fgets()
Show Answer
Correct Answer:
fgets()
Explanation:
Because, In fgets() we can specify the size of the buffer into which the string supplied will be stored.
← Previous
Next →
Discussion & Comments
No comments yet. Be the first to comment!
Name:
Comment:
Post Comment