English

Missing a semicolon in a statement is what type of error?

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]

APPEARS IN

Rupa Pandit Computer Applications [English] Class 10 ICSE
Chapter 1 Revision of Class 9 Syllabus
Exercises | Q 1. (xxx) | Page 44
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×