Persistent Systems Interview Question

1. Why type checking is invented in C++ ?