Forum Discussion
Altera_Forum
Honored Contributor
12 years agoAny if I now type "yes" the program will crash.
The simple solution is never to use scanf, and especially never with a %s format.Any if I now type "yes" the program will crash.
The simple solution is never to use scanf, and especially never with a %s format.