有以下程序:程序运行后的输出结果是()。
main()
{inta[]=(2,4,6,8,10},y=0,x,*P;
p=&a[1];
for(x=1;x<3;x++)y+=p[x];
printf("%dn,y");
}
有以下程序:当程序运行时输入a<回车>后,下列叙述中正确的是()
#include
main()
{charcl='1',c2='2';
cl=getchar();c2=getchar();putchar(c1);putcha:
(c2);
}
使用SQL语句查询学生信息表tbl_student中的所有数据,并按学生学号stu_id升序排列,正确的语句是______。
若有定义:“inta=4,b=5;floatx=3.4,y=2.1;”,则下列表达式的值为()。
(float)(a+b)/2+(int)x%(int)y;
有下列程序:程序运行后的输出结果是()。
voidsort(inta[],intn)
{inti,j,t;
for(i=0;i