C Functions Question: Download C Functions PDF
Can you please explain the difference between syntax vs logical error?
Answer:
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.
► 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.
Previous Question | Next Question |
Can we use any name in place of argv and argc as command line arguments? | What is logical error? |