X interview question

how do "seg faults" work