What are comments? Why comments are included in programs? Are they necessary for
ID: 3634239 • Letter: W
Question
What are comments?Why comments are included in programs?
Are they necessary for an production environment?
Explain
Explanation / Answer
What are comments? =>In computer programming, a comment is a programming language construct used to embed programmer-readable annotations in the source code of a computer program. Those annotations are potentially significant to programmers but typically ignorable to compilers and interpreters.The syntax and rules for comments vary and are usually defined in a programming language specification. Why comments are included in programs? =>Comments are usually added with the purpose of making the source code easier to understand. Are they necessary for an production environment? =>No,they are not.But gives you simpler understanding of program.