why DOS prompt crashes when I run this compiled code?

Printable View