#include <stdio.h>
void fun (char s[],char t[])
{int i,j;
for(i=1;i<strlen(s)-1;i+=2)//若删除奇数,i=0
t[j++]=s[i];
}
int main()
{char s[100],t[100];
int i,j;
printf("enter s:");
gets(s);
printf("the t is:");
fun (s,t);
printf("%s",t);
return 0;
}