Computer Science, asked by jatinkotnala, 7 months ago

difference between Syntax error and runtime error with example​

Answers

Answered by DevanshuYadav123
1

Answer:

A program with a syntax error cannot be executed. The program with a runtime error can be executed but dumps under certain conditions. ... Syntax errors are static error that can be detected by the compiler. Runtime errors are dynamic error that cannot be detected by the compiler

Explanation:

Follow me

Answered by SecertGiggle007
2

Hey mate here is ur answer

1. A program with a syntax error cannot be executed. The program with a runtime error can be executed but dumps under certain conditions.

2. Syntax errors are static error that can be detected by the compiler. Runtime errors are dynamic error that cannot be detected by the compiler.

hope it's help uh!!

please mark as brainliest answer ❣️☺️

Similar questions