IBM Bloomberg LP Interview Question
Financial Software Developers Software Engineer / DevelopersWell if the process tries to write into the address space of other process it is global replacement and leads to thrashing. Whereas when a process tries to map to the actual physical memory location from its segment number and offset & the situation arises that the offset is out of the limit register value of the segment then it is called segment fault
when we try to access any part of memory which has not been allocated to the program..a segmentation fault occurs..
- nitesh October 03, 2008e.g.
int a[10];
accessing a[11] or a[10] will cause segmentation fault.