[PR #233] Changed scanf to fgets #525

Closed
opened 2026-01-29 15:13:29 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/TheAlgorithms/C/pull/233

State: closed
Merged: No


Scanf is generally considered to be less secure than fgets. If you need bigger than 100 chars, change the array length, and the fgets statement accordingly

**Original Pull Request:** https://github.com/TheAlgorithms/C/pull/233 **State:** closed **Merged:** No --- Scanf is generally considered to be less secure than fgets. If you need bigger than 100 chars, change the array length, and the fgets statement accordingly
claunia added the pull-request label 2026-01-29 15:13:29 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/C#525