07-15-2020, 11:56 AM
The syntax error is a any mistake in symbol or missing symbol in a syntax. Logical error means you expressed something that is logically incorrect and it will produce unwanted result. The logical error occur at run-time. The run-time error produced by a logical error.