填空题

下面函数返回数组中最大元素的下标,数组中元素个数为t,将程序补充完整。 int findmax(int s[],int t) { int k,p; for(p=0,k=p;p<t;p++) { if 【9】 k=p; } return k; }

【参考答案】

(s[p]>s[k])