Skip to content
Question Bank (2 marks) · Q9

Q.Briefly explain runtime error.

Karnataka PUCTextbookShort· 2mImportance★★★★★est
30% · 46/154 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

[!TLDR]

A runtime error occurs during execution (e.g. division by zero), not at compile time.

A program may compile successfully yet fail while running. A runtime error arises from a condition that can only be detected at execution time, for example dividing a number by zero, taking the square root of a negative value, or referring to a memory location that does not exist. Such errors usually cause the program to terminate abnormally.

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.