题目内容
分析下程序,并写出程序的运行结果。#include #include void main( ){char str[]="123456";int i,x;char t;x=strlen(str)-1;for (i=0;i<=x/2;i++){t=str[i]; str[i]=str[x-i]; str[x-i]=t;}puts(str);}输出为( )。
查看答案
搜索结果不匹配?点我反馈
更多问题