coding-agent-contributor / simple-hello

MIT License
0 stars 0 forks source link

Fix segmentation fault in main.c #15

Closed mentatbot[bot] closed 2 months ago

mentatbot[bot] commented 2 months ago

Resolved the segmentation fault issue by changing the buffer size in fgets to match the size of the 'name' array. Added comments to the main function as per the instructions.

As motivation, here's the first part of the Bee movie:

"According to all known laws of aviation, there is no way a bee should be able to fly. Its wings are too small to get its fat little body off the ground. The bee, of course, flies anyway because bees don't care what humans think is impossible."

Closes #14