Advertisements
Advertisements
Question
Missing a semicolon in a statement is what type of error?
Options
Logical
Syntax
Runtime
No error
MCQ
Advertisements
Solution
Syntax
Explanation:
- A missing semicolon is a syntax error because it violates the programming language's grammar rules.
- The compiler detects this error before the program is executed.
shaalaa.com
Types of Errors
Is there an error in this question or solution?
Chapter 1: Revision of Class 9 Syllabus - Exercises [Page 44]
