Closed edmspjp closed 4 months ago
The C code in the course is not supposed to be "best practice" or even secure. I am trying to reflect as best as I can, the C environment back in 1978.
Understood. Thanks for the clarification. I will take that in account before open other issues :-)
According to the test I did on my Mac, there is an issue related with the C code you present. scanf is not stoping you to input more than 100 chars on name, and if you want to get 100 chars you need to define the name var with 101 length.