问题 更新时间2023/4/3 12:59:00 [应用题,7.6分] 以下程序的功能是将一个字符串的内容颠倒过来。#include //或 #include#includevoid main(){int i, max;char ch;char str[]="1234567";for(i=0,j=strlen(str)-1;[<>];[]){ch=str[i];[];str[j]=ch;}printf("%s\n", str); //或 cout<<><>} 答案 登录 注册 以下程序的功能是将一个字符串的内容颠倒过来。#include //或 #include #include void main(){int i, max;char ch;char str[]="1234567";for(i=0,j=strlen(str)-1;[ 出自:青书学堂 >> 许昌学院面向对象程序设计