![](http://static.sotiji.com/static/index/img/ques_detail.png)
#include
#include
int fun(int *s, int t, int *k)
{ int i;
*k=0;
【15】
if(s[*k]
return【16】;
}
main()
{
int a[10]={ 876,675,896,101,301,401,980,431,451,777},k;
clrscr();
fun(a, 10, &k);
printf("%d, %d\n ", k, a[k]);
}
![](http://static.sotiji.com/static/index/img/search_middle.png)
![](http://static.sotiji.com/static/index/img/xqques.png)
相关问题推荐
Which setting enables the baselines by default in Oracle Database 11g?()
A、setting the STATISTICS_LEVEL parameter to TYPICAL
B、adding filters to the Automatic Database Diagnostic Monitor (ADDM)
C、enabling Automated Maintenance Task using Oracle Enterprise Manager
D、setting the OPTIMIZER_USE_PENDING_STATISTICS parameter to TRUE
下列关于复合语句和空语句的说法错误的是
A.复合语句是由"{"开头,由"}"结尾的
B.复合语句在语法上视为一条语句
C.复合语句内,可以有执行语句,不可以有定义语句部分
D.C程序中的所有语句都必须由一个分号作为结束
若int k=8;则执行下列程序后,变量k的正确结果是
main()
{int k=8;
switch(k)
{case 9:k+=1;
case 10:k+=1;
case 11:k+=1;break;
default:k+=1;}
printf("%d\n",k);}
A.12
B.11
C.10
D.9
下列语句中,错误的是(x,y,a,b假设已经定义好)
A.while(x=y)5;
B.dox++while(x==10);
C.while(0);
D.do2;while(a==b);
Which two statements are true with respect to the maintenance window? ()
AA DBA can enable or disable an individual task in all maintenance windows.
BA DBA cannot change the duration of the maintenance window after it is created.
CIn case of a long maintenance window, all Automated Maintenance Tasks are restarted every four hours.
DA DBA can control the percentage of the resource allocated to the Automated Maintenance Tasks in each window.