When recently answering another question, I discovered a problem with code like:
int n; scanf (\"%d\", &n);
With strtol, y
strtol