int len=5; char *p1; cout<<"the char type array and it’s length is 5:\n"; cout<<"the array element is a b c d e\n"; p1=new char[len]; for (int i=0;i<len;i++) p1[i]=’a’+i; maxofarray(p1,len);
【参考答案】
void maxofarray(atype*p,int count) { for (int j=0;......