Computer Science, asked by samay7484, 3 months ago

Give difference between syntax error and run time error.​

Answers

Answered by Oreki
4

\begin{tabular} {m|m}\textsf{\Small \textbf{Syntax error}} & \textsf{\Small \textbf{Run-time error}}\\\textsf{\small Grammatical error in the statements.} & \textsf{\small Occurs while running the program.}\\\textsf{\small The program is unable to give the \symbol{111}utput.} & \textsf{\small The program is unable to give the desired \symbol{111}utput.}\end

Answered by BrainlyProgrammer
2

Answer:

Syntax error occurs when program does not executes successfully.

Example:- missing a semicolon is a syntax error

Run time error occurs when program compiles showing no error.

example:- Division by zero is a run time error

Similar questions