Trusted by millions of Kenyans
Study resources on Kenyaplex

Get ready-made curriculum aligned revision materials

Exam papers, notes, holiday assignments and topical questions – all aligned to the Kenyan curriculum.

Describe the limitations of using getchar and scanf functions for reading strings.

Describe the limitations of using getchar and scanf functions for reading strings.

Answers


JOSEPH
1using the highlighted functions to get a string from us leads to the possibility that the string may be longer than your buff which may cause an overflow.
2.The possibility of a failed scan may leave your file pointer in an intermediate location.
Joseph lance answered the question on February 12, 2018 at 09:23

Answer Attachments

Exams With Marking Schemes

Related Questions