Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

where can I see comments

+4 votes
asked Jun 15, 2025 by Syeda jecika (160 points)

1 Answer

0 votes
answered Jun 20, 2025 by Peter Minarik (101,420 points)

In the source code.

There are tools that can extract specific comments into a separate document. For instance, comments that explain what the function does, what the parameters are, what the return value is, etc., could be extracted to generate the documentation of the code (Doxygen would do that)

Apart from documentation, most of the time, comments are in the code and visible only to the software engineers who read the code, so it gives them a better understanding of what the code is supposed to do.

Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and receive answers from other members of the community.
...