What is a segmentation fault? How to fix it?
Segmentation fault is the operating system sending a signal to the program saying that it has detected illegal memory access and is prematurely terminating the program to prevent memory from being corrupted. “segmentation” is the concept of each process on your computer having its own distinct virtual address space. Thus, when Process A reads memory location 0x875, […]