AMD Interview Question: Analyse a situation where you... | Glassdoor

Interview Question

Software Engineer Interview Sunnyvale, CA

Analyse a situation where you get a segmentation fault and

  whats the reason
analytical, programming

Interview Answer

1 Answer


In the program you tried accessing address (holding pointer, data) that you have not defined/allocated. Operating system raises this fault because it knows that this address has not been assigned to this program. Need to run in debugger, see which statement is causing it and fix it.

LGS on Nov 19, 2016

Add Answers or Comments

To comment on this, Sign In or Sign Up.