What is Run Time Error?

Run Time Errors

Run-Time Error

These type of errors occur during execution. A program successfully translated and executed but during execution enters invalid input or opening a file which is not in defined path. Runtime errors indicate bugs in the program or problems that the designers had anticipated but could do nothing about. For example, running out of memory will often cause a runtime error.

Reasons of Run-Time Error

  • Wrong input from the user (In a Integer Variable input of character of string)
  • Open a file that does not exist (Invalid File Location)
  • Hardware Failure

Post a Comment

Previous Post Next Post