...
In this compliant solution, the function remove_spaces() is passed a non-const char pointer. The calling function must ensure that the NULLnull-terminated byte string passed to the function is not const by making a copy of the string or by other means.
...
| Wiki Markup |
|---|
\[[ISO/IEC 9899-:1999|AA. C References#ISO/IEC 9899-1999]\] Section 6.7.3, "Type qualifiers" \[[ISO/IEC PDTR 24772|AA. C References#ISO/IEC PDTR 24772]\] "HFC Pointer casting and pointer type changes" \[[MISRA 04|AA. C References#MISRA 04]\] Rule 11.5 |
...