So you see, a segmentation fault in your program is even worse than that in a language – at least they are talking but your program isn’t.

Segmentation fault is something every C or C++ programmer needs to be comfortable dealing with because it happens so often. Most programmers know what it is on some level but they don’t know about it too well. That’s what this chapter is dedicated to - help you understand what segmentation fault really is and how to best avoid it.