Answer to Question #287375 in C++ for Nica

Question #287375

What is the purpose of commenting and how should it be done?

1
Expert's answer
2022-01-14T04:36:30-0500

Comments are provided in a program to put information about the logical and reasoning steps based on which the code is implemented. Normally a single line is commented using double slash (//) and a block of lines are commented using the combination of asteric like (/* */). Comments are very important so as to know what was the logic behind the working of code or any other useful information that to be considered while reworking on code.


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment