Can you please explain the difference between syntax vs logical error?

Submitted by: Muhammad
Syntax Error
► These involves validation of syntax of language.
► Compiler prints diagnostic message.
Logical Error
Logical error are caused by an incorrect algorithm or by a statement
► Mistyped in such a way that it doesn't violet syntax of language.
► Difficult to find.
Submitted by: Muhammad

Read Online C Functions Job Interview Questions And Answers