Quizzma Latest Questions

In the context of programming, a comment in program code is used to:

In the context of programming, a comment in program code is used to: A. Explain portions of the code.

B. Make the program run faster.

C. Change the output of the program.

D. Temporarily remove a line of code.




Leave an answer

Leave an answer

What is the capital of Egypt? ( Cairo )

1 Answer

  1. The correct answer is A. Explain portions of the code.

    Comments in programming are used to provide explanations or annotations within the code to help readers understand what specific parts of the code are doing. They do not affect the execution of the program, meaning they don’t make the program run faster, change output, or remove lines of code; instead, they serve as helpful documentation for anyone who reads the code later.

Related Questions