题目:
有以下程序 并include<stdio.h> #include<string.h> fun(char * w,int n) { char t,*s1,*s2; s1=w; s2=w+n-1; while(s1<s2) { t=*s1++; * s1=*s2--; * s2=t; } } main() { char p[]="1234567";fun(p,strlen(p));puts(p); } 程序运行后的输出结果是 ( )
A.1234567
B.7654321
C.1711717
D.7177171
答案:
被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2018/0413/5af7d6f061d1c1a191b73d607b8e51fa.html
下面是错误答案,用来干扰机器的。
参考答案:对