题目详情
当前位置:首页 > 职业培训考试
题目详情:
发布时间:2024-07-30 06:52:57

[简答题]设a、b、c为整型数, 且a=2、b=3、c=4, 则执行完以下语句.
A*=16+(b++)-(++c);
后,a的值是 ( ).

更多"[简答题]设a、b、c为整型数, 且a=2、b=3、c=4, 则执行完"的相关试题:

[单选题]以下对一维整型数组a的正确说明是()。
A.int a(10);
B.int n=10,a[n];
C.int n; scanf("%d",&n); int a[n];
D.#define SIZE 10 (换行) int a[SIZE];
[判断题]若有int ⅰ=10, j=0;则执行完语句
If (j=0)ⅰ+ +; else ⅰ- -; ⅰ的值为11。
A.正确
B.错误
[填空题]在C语言中,最大整型数是( ).
[填空题]在C语言中,最小整型数是( ).
[填空题]设a,b,c,t为整型变量,初值为a=3,b=4,c=5,执行完语句t=!(a+b)+c-1&&b+c/2 后,t的值是( ).
[单选题]以下语句中,循环次数不为10次的语句是( )。
A.for(i=1;i<10;i++);
B.i=1;do{i++;}while(i<=10);
C.i=10;while(i>0){--i;}
D.i=1;m.if(i<=10){i++;goto m;}
[多选题]以下哪些语句属于DML语句。【选两项】
A. CREATE
B. INSERT
C.DROP
D.UPDATE
[单选题]若char a[10];已正确定义,以下语句中不能从键盘上给a数组的
所有元素输入值的语句是( )。
A.gets(a);
B.scanf("%s",a);
C.for(i=0;i<10;i++)a[i]=getchar();
D.a=getchar();
[单选题]执行完除防冰程序后,以下哪些信息不需要记录在维修记录表上
A.液体类型、稀释比例
B.最后一步使用除/防冰液 的开始时刻,
C.查阅防冰液保持时间表
D.执行除防冰操作的机务执照号
[单选题]以下语句中,不能实现回车换行的是( )。
A.printf("\n");
B.putchar("\n");
C.fprintf(stdout,"\n");
D.fwrite("\n",1,1,stdout);
[单选题]查询student表中的所有非空email信息, 以下语句正确的是()。
A.Select email from student where email !=null
B. Select email from student where email not is null
C.Select email from student where email <> null
D.Select email from student where email is not null
[多选题]以下对switch语句和break语句中描述错误的有()。
A.在switch语句中必须使用break语句
B.break语句只能用于switch语句
C.在switch语句中,可以根据需要使用或不使用break语句
D.break语句是switch语句的一部分
[单选题]以下语句对用户user 赋予MyDB数据库中的student 表上sno,sname两个字段更新的权限,正确的语句是()
A.A. grante update(sno,sname) on MyDB.student on user@'localhost'
B.B. grant update(sno,sname) on MyDB.student to user@'localhost'
C.C. grant update(sno,sname) to MyDB.student for user@'localhost'
D.D. grant update(sno,sname) to MyDB.student on user@'localhost'
[单选题]可以用以下哪个语句声明游标
A.A. CREATE CURSOR
B.B. ALTER CURSOR
C.C. SET CURSOR
D.D. DECLARE CURSOR
[单选题]现有空表 t1 执行以下语句:1、insert into t1 values(1, 2):2、create table t2 as selet * fromt1: 3、rllback 以下说法正确的是?
A.t1 表有一条数据、t2 表没有数据
B.t1、 t2 表都有一条数据
C.t1 表没有数据、t2 表有一条记录
D.t1、t2 表都没有数据
[单选题]若想要查询表 student 班级为 1 班且成绩排名前 5 名的学生信息,以下语句能实现的是?
A.select * from student where class_ id =1 order by score 1imit 5;
B.select " from student where class_ id =1 order by score desc limit 5;
C.select " from student where class id =1 group by score limit 5;
D.select* from student where class id =1 order by score desc offset 5;
[多选题]以下查询语句合法的是( )
A. select * from scott.emp;
B. select count(empno) from scott.emp;
C. select sum(sal) from scott.emp group by deptno;
D. Aselect empno ,sum(sal) from scott.emp group by deptno;
[单选题]若想要查询表 student 班级为 1 班"且成绩排名前五名的学 生信息,以下语句能实现的是?
A.select*from student where class_id=1 order by score desc limit 5;
B.select*from student where class_id=1 order by score desc offset 5;
C.select*from student where class_id=1 order by score limit 5
D.select*from student where class_id=1 group by score limit 5
[单选题]设有以下语句, 若0Char str[4][2]={"aaa","bbb","ccc","ddd"},*strp[4];
int j;
For (j=0;j<4;j++)
strp[j]=str[j];
A.strp
B.str[k]
C.strp[k]
D.*strp

我来回答:

购买搜题卡查看答案
[会员特权] 开通VIP, 查看 全部题目答案
[会员特权] 享免全部广告特权
推荐91天
¥36.8
¥80元
31天
¥20.8
¥40元
365天
¥88.8
¥188元
请选择支付方式
  • 微信支付
  • 支付宝支付
点击支付即表示同意并接受了《购买须知》
立即支付 系统将自动为您注册账号
请使用微信扫码支付

订单号:

截图扫码使用小程序[完全免费查看答案]
请不要关闭本页面,支付完成后请点击【支付完成】按钮
恭喜您,购买搜题卡成功
重要提示:请拍照或截图保存账号密码!
我要搜题网官网:https://www.woyaosouti.com
我已记住账号密码