皮皮学,免费搜题
登录
搜题
【单选题】
第 18 题(本题:1分) 若有以下程序 #include main() { int a=1,b=2,c=3,d=4, r=0; if (a!=1) ; else r=1; if (b==2) r+=2; if (c!=3); r+=3; if (d==4) r+=4; printf("%d\n", r); } 则程序的输出结果是
A.
3
B.
7
C.
6
D.
10
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
.
..
皮皮学刷刷变学霸
举一反三
【简答题】设有以下说明语句 struct student {int num; char ; int age; }a1,a2; 则下面的语句中不正确的是 _____ 。A. printf(“%d,%c,%d”,a1); B. a2.age=a1.age; C. a1.age++ D. printf(“%o”,&a1);
【单选题】“四个自信”包含哪些内容?
A.
“四个自信”包含哪些内容? 道路自信、能力自信、制度自信、文化自信
B.
道路自信、理论自信、制度自信、文化自信
C.
道路自信、理论自信、制度自信、民族自信
【单选题】设有以下说明语句 struct student {int num; char sex; int age; }a1,a2; 则下面的语句中不正确的是 _____ 。
A.
printf(“%d,%c,%d”,a1);
B.
a2.age=a1.age;
C.
a1.age++
D.
printf(“%o”,&a1);
【单选题】“四个自信”包含哪些内容( )
A.
道路自信、能力自信、制度自信、文化自信
B.
道路自信、理论自信、制度自信、文化自信
C.
道路自信、理论自信、制度自信、民族自信
【简答题】CPU调度的基本方式有 和 。
【单选题】设有以下说明语句: struct stu { int a; float b; } stutype; 则下面的叙述不正确的是 。
A.
struct 是结构体类型的关键字
B.
struct stu 是用户定义的结构体类型名
C.
stutype 是用户定义的结构体类型名
D.
a 和 b 都是结构体成员名
【简答题】China's economy has transformed from an export-driven economy to a domestic demand-driven economy. While the global economic downturn will affect China's exports, the domestic economy is expected to r...
【简答题】1. 设有以下说明语句 struct ex { int x; float y;char z; } example; 则下面的叙述中不正确的是______。A. struct 是结构体类型的关键字 B. example是结构体类型名 C. x , y , z 都是结构体成员名 D. struct ex 是结构体类型
【单选题】China's exports will continue to _______ this year with the world's economic recession.
A.
slide
B.
smile
【单选题】设有以下说明语句struct st{ int a; float b; char c;}per1;则下面的叙述中错误的是( ).
A.
struct st是结构体类型名
B.
per1是结构体类型名
C.
a,b,c都是结构体成员名
D.
struct是结构体类型的关键字
相关题目: