segment fualt code example Example: segmentation fault Segfaults are caused by a program trying to read or write an illegal memory location