C Functions Question:
Download Questions PDF

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


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.

Download C Functions Interview Questions And Answers PDF

Previous QuestionNext Question
Can we use any name in place of argv and argc as command line arguments?What is logical error?