3 ms·
Make sure to click the link at the end of the article for code samples with potential for Segmentation fault:core dumped in 4 lines. Even more concerning is th
by oldcynic 8y ago
Make sure to click the link at the end of the article for code samples with potential for Segmentation fault:core dumped in 4 lines.
Even more concerning is the book seems to have some positive reviews on Amazon(!), and just one shredding it.
- saagarjha 8y agoThe 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. :)