“`” 【参考答案】 <pre><code>int Invert(char* str) { int num =0; while(*str!='\0') { int d igital=*str-48; num=num*10+digital; str=str+1; } return num; } </code></pre> <pre><code> "“` Was this helpful? YesNo 0 / 0 上一篇: 请编写一个C 函数,该函数将给定的一个整数转换成字符串。 下一篇: 请编写一个C 函数,该函数给出一个字节中被置1 的位的个数。 发表回复 取消回复0 Your email address will not be published. 在此浏览器中保存我的显示名称、邮箱地址和网站地址,以便下次评论时使用。