Q & A by Maninder Singh

Question:

QUESTION: What is a comment in code, and why is it used?

Answer:

Comments are like notes in code that are ignored by the computer. They are used to provide explanations, document code, and make it more understandable to other programmers.