c++ segmentation fault core dumped,using throw code example
Example: segmentation fault
Segfaults are caused by a program trying to read or write an illegal memory location
Segfaults are caused by a program trying to read or write an illegal memory location