...
| Code Block | ||
|---|---|---|
| ||
// */ //* comment, not syntax error */ f = g/**//h; //* equivalent to f = g / h; */ //\ i(); //* part of a two-line comment */ /\ / j(); //* part of a two-line comment */ /*//*/ l(); //* equivalent to l(); */ m = n//**/o + p; //* equivalent to m = n + p; */ a = b //*divisor:*/c +d; //* interpreted as a = b/c +d; in c90 compiler and a = b+d; in c99 compiler |
Compliant Solution 1
Use a consistent style of commenting:
| Code Block | ||
|---|---|---|
| ||
// Nice simple comment int i; // counter */ |
Compliant Solution
...
Use a consistent style of commenting:
...