answersLogoWhite

0


Best Answer

You either reference memory that is non existent, or you attempt to modify memory that is read only. This is usually a result of failure to properly initialize or use pointers or arrays.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: When does segmentation fault occur for a prog?
Write your answer...
Submit
Still have questions?
magnify glass
imp