数据结构与算法-字符串反转

百度2014笔试题: 字符串反转,要求不能使用系统函数,参数和返回值都是char指针。html </pre><pre name="code" class="cpp">#include <stdio> char *reverse_str(char *str){ int length=0; char *start=str; //能够复制指针 while(*start){ //“
相关文章
相关标签/搜索