下述程序的作用是计算机数组中的最大元素值及其下标
解:#include
void findmax(int *s, int t,int *k)
{ int p;
for(p=0,*k=p;ps[*k])
*k=p;
}
void main()
{int a[10],i, k;
for(i=0;i
void findmax(int *s, int t,int *k)
{ int p;
for(p=0,*k=p;ps[*k])
*k=p;
}
void main()
{int a[10],i, k;
for(i=0;i
【下述程序的作用是计算机数组中的最大元素值及其下标】相关文章
2. HttpServlet类中的主要方法都有哪些?各自的作用是什么?
3. 劳务派遣的作用是什么
5. Jar包的作用是什么
6. What is the purpose of Void class? Void类的作用是什么?
7. Spring中ApplicationContext的作用是什么
本文来源:https://www.mianshiwenti.com/a13132.html
进入下载页面
上一篇:聚网科技C++面试笔试题
下一篇:C++面试题:关于链表和指针