QUESTION IMAGE
Question
which of the following statements is or are true about comments in programming? (2 points)
i. comments are always at the start of a program.
ii. comments are required to be in a program.
iii. comments are skipped when the program executes.
Brief Explanations
- I: Comments can be placed anywhere in a program for clarity, not just at the start.
- II: Comments are not mandatory for a program to run; they are for human - readability.
- III: The compiler or interpreter skips over comments during program execution as they are not part of the code logic.
Snap & solve any problem in the app
Get step-by-step solutions on Sovi AI
Photo-based solutions with guided steps
Explore more problems and detailed explanations
B. III