Category C/C++

How to Debug Segmentation Fault in C/C++ Program?

blog_freecoder_sigfault

The segmentation fault, also known as segfault, is a type of computer error that occurs whenever an unexpected condition causes the processor to attempt to access a memory location that’s outside its own program storage area. The term “segmentation” refers…