...
| Code Block | ||
|---|---|---|
| ||
#if 0 /* use of critical security function no
* longer necessary */
security_critical_function();
/* some other comment */
#endif
|
...
| Code Block | ||
|---|---|---|
| ||
if (0) { /* use of critical security function no
* longer necessary, for now */
/*NOTREACHED*/
security_critical_function();
/* some other comment */
}
|
...
| 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 */
|
...