run time error..

how to minimize runtime error???

Run-time errors only occur when you run a program, and thus, they can only occur if there is a program to run. When you run the executable and something goes wrong then we call it a run-time error. There are two main types of run-time errors:

1.Fatal Errors includes divide by zero error or segmentation error.

  1. Logic error: suppose you wrote a program which goes into infinite loop.

So to avoid such error, check on your logic and limits of the variable.

Hope you undertands

Enjoy Programming

Thank You

Please refer to this FAQ. You can see information on why each type of error occurs and some tips on how to correct them.

//