M
Monk
Hi,
Have a query regarding comments that extend over multiple-lines. Would
like to know if the standard's view of this, so that we can create a
code which doesn't run into compiler specific issues.
1. A normal comments is
/* comment text */
2. A multiple line comment is
/* comment text <new line>
more comment text <new line>
.... <many new lines>
comment text */
1 is fairly common. Does the standard say anything about format 2 ? I
suspect different compilers might interpret 2 differently so the
question.
Any opinions or views on this issue are also welcome.
Sachin
Have a query regarding comments that extend over multiple-lines. Would
like to know if the standard's view of this, so that we can create a
code which doesn't run into compiler specific issues.
1. A normal comments is
/* comment text */
2. A multiple line comment is
/* comment text <new line>
more comment text <new line>
.... <many new lines>
comment text */
1 is fairly common. Does the standard say anything about format 2 ? I
suspect different compilers might interpret 2 differently so the
question.
Any opinions or views on this issue are also welcome.
Sachin