The segmentation fault in c++, also known as segfault, is a type of computer error that occurs whenever an unexpected condition causes the processor