Sail E0 Webinar
Question

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


Options:
A .  gets()
B .  fgets()
Answer: Option B

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



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers