通过海量题库、编程比赛和实时排名,系统化提升您的编程能力。
有以下程序:
#include <stdio.h> #include <string.h> main() { int i; char a[]="How are you!"; for(i=0;a[i];i++) { if(a[i]==' ') { strcpy(a,&a[i+1]); i=0; } } printf("%s\n",a); }
程序的运行结果是()。