输入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
发布时间:2025-06-30 04:12:05