Technical Discussion :: C
Home > Technical Interview Q&A > C > Discussion
38 / 123
Out of the functions fgets() and gets(), which one is safer to use and why?
Answer:
Fgets() is better as it checks the array bound.
Asked In ::
Teena
18 Aug, 2019 12:38 AM
Fgets() is better as it checks the array bound.