输入hello↙ 写出下面程序的运行结果。 #include <stdio.h> #include <string.h> int

大学网课 已帮助 人

输入hello↙,写出下面程序的运行结果。 #include <stdio.h> #include <string.h> int main() { char s[80],t[200]; int i,sl ; gets(s); sl = strlen(s); for(i=0 ;i<sl ;i++) t[i]=s[sl-i-1] ; for (i=0; i<sl; i++) t[sl+i] = s[i]; t[sl+i]="0" ; puts(t); return 0; }

输入hello↙ 写出下面程序的运行结果。 #include &lt;stdio.h&gt; #include &lt;string.h&gt; int

热搜:下面哪个流类属于面向字符的输入流