- A Logical Error
- B Compilation Error
- C Runtime Error
- D Syntax Error
Correct Option: D
Syntax errors occur when the rules of a programming language are violated. These errors are detected by the compiler during the compilation process and must be fixed before the program can be executed.