
...
Code Block |
---|
void f(const char *str, int slen) { char *p = (char*)str; int i; for (i = 0; i < slen && str[i]; i++) { if (str[i] != ' ') *p++ = str[i]; }Â }Â } } |
Non-complaint Code Example 2
...
...
Code Block |
---|
void f(const char *str, int slen) { char *p = (char*)str; int i; for (i = 0; i < slen && str[i]; i++) { if (str[i] != ' ') *p++ = str[i]; }Â }Â } } |
...