这回有人懂吗??
#include<stdio.h>这个程序错哪了,为什么调试时没错,却无法执行,提示出错.
#include<string.h>
main(){
int i,n,m=4,v=0;
char *su[5]={"MM","ht","hx","mh","fk"};
printf("%s %s %s %s",su[m-1],su[2],su[3],su[4]);
for(i=1;i<=4;i++){
for(n=1;n<=5-i;n++){
if(strcmp(su[m],su[m-n])==0){
v++;
printf("%d\n",v);}
m=m-1;
}
}
printf("%d\n",v);
}