Question:medium

Consider the following statements about C program.
Statement-I: Every program statement must end with a semicolon.
Statement-II: Compiler directives do not end with a semicolon.
The correct answer is

Show Hint

Executable statements usually end with semicolons. Preprocessor directives beginning with # never require semicolons.
Updated On: Jun 25, 2026
  • Both Statement-I and Statement-II are true
  • Both Statement-I and Statement-II are false
  • Statement-I is true, but Statement-II is false
  • Statement-I is false, but Statement-II is true
Show Solution

The Correct Option is D

Solution and Explanation

Was this answer helpful?
0