segmentation fault core dumped ubuntu cpp code example
Example: segmentation fault (core dumped) ubuntu
See AU: What is a segmentation fault? post and also this post which have some examples how reproduce it, SO: What is segmentation fault?.
The simplest description I can come with (may be not the perfect):