Apple Interview Question

How do you debug segmentation fault?

Interview Answer

Anonymous

Mar 6, 2019

Segmentation fault is usually caused by accessing nonallocated memory; use gdb and backtrace