Check out example codes for "runtime error in c++". It will help you in understanding the concepts better.

Code Example 1

Runtime errors indicate bugs in the program or problems that the designers had anticipated but could do nothing about.

Learn ReactJs, React Native from akashmittal.com