Wednesday, 11 March 2015

How to solve signal SIGSEGV segmentation fault in c++

                         SIGSEGV segmentation fault in c++

A segmentation fault occurs when a program attempts to access a memory location that it is not allowed to access, or attempts to access a memory location in a way that is not allowed (for example, attempting to write to a read-only location, or to overwrite part of the operating system).