C Programming language

Errors in C Programming Language
Previous Home Next

Types of Errors

  • Syntax Errors : If we are missing a semicolon then it is a syntax error
  • Logical Errors: If we want to add two numbers but we are writing result=a*b then this is called a logical error
  • Runtime Errors: When we want to divide a number by zero then the program compiled but not run this is called Runtime Error
Previous Home Next