3 ms·
The example given at the top of the article can cause a segmentation fault. See the other comments here for how.
by saagarjha 8y ago
The example given at the top of the article can cause a segmentation fault. See the other comments here for how.
- oldcynic 8y agoReturning out of bounds pointers will do that. Was more impressed by the range of errors in his 4 line examples - the sort of thing you'd expect from a struggling student not a tutor or author. :)