Question:

Which one of the following classes of statements usually produces no executable code when compiled?

Show Hint

Declarations affect compilation metadata, not runtime execution.
Updated On: Feb 8, 2026
  • Declarations
  • Assignment statements
  • Input and output statements
  • Control statements
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is A

Solution and Explanation

Step 1: Understanding declarations.
Declarations specify variables, data types, and storage requirements but do not perform any computation or action at runtime.
Step 2: Comparison with other statements.
Assignment statements generate code to store values. Input/output statements generate code for data transfer. Control statements generate branching or looping code.
Step 3: Effect of declarations during compilation.
Declarations mainly affect symbol tables and memory allocation but do not result in executable instructions.
Step 4: Final conclusion.
Therefore, declarations usually produce no executable code when compiled.
Was this answer helpful?
0
0