我的运行程序是这个
#include<iostream.h>
int main()
{
char * s1="hello";
char* s2="123";
char a[20];
strcpy(a,s1);
cout<<(strcmp(a,s1)==0 ? "" : "not")<<"equal"<<endl;
cout<<strcat(a,s2)<<endl;
cout<<strrev(a)<<endl;
cout<<strset(a,'c')<<endl;
cout<<(strstr(s1,"ell") ? "" : "not")<<"found"<<endl;
cout<<(strchr(s1,'c') ? "" : "not")<<"found"<<endl;
}
这个程序哪里错了,还是什么原因让它通不过