By entering a really large number, eg. '99999999999999999999999999' it is possible to make the example program fail at the atoi() call.
The atoi() call failing is acceptable, but I think the segmentation fault that accompanies it isn't...
Log in to post a comment.