下面程序的功能是输出数组s中最大元素的下标,请填空。main(){ int k, p,s[]={1, -9, 7, 2, -10, 3} for(p =0, k =p p< 6 p++) if(s[p]>s[k]) printf('%d\n', k)}
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【简答题】A.The man can have his pants at the end of the day. B.Cleaning the pants will take longer than usual. C.She doesn't think the stain can be removed. D.The man should go to a different location.