A comment is basically a text note that gives an explanation about the source code. Furthermore, they act as documentation in the source code. We include comments to increase the readability of the program. Besides, comments make it easy for the programmer to remember the complex things added to the code.
Sandhya Answered question June 30, 2023
