【单选题】【消耗次数:1】
以下程序的输出结果是() int a, b; void fun( ) { a=100; b=200; } main( ) { int a=100, b=100; fun( ); printf(%d%d \n, a,b); }
100200
100100
200100
200200
参考答案:
复制
纠错
相关题目
【单选题】 下列程序的输出结果是()。 #include fun(int *a,int *b) {int *w;*a=*a+*a;*w=*a; *a=*b; *b=*w;} main( ) {int x=9,y=5,*px=fun(px,py);printf(%d, %d\n,x,y);}
①  出错
②  18,5
③  5,9
④  5,18
【单选题】 有以下程序,程序执行后的输出结果是( ) #include int fun(int x [ ],int n) { static int sum=0,i; for(i=0; i{ sum+=x[i]; } return sum; } void main( ) { int a[ ]={1,2,3,4,5}; int b[ ]={6,7,8,9},s=0; s=fun(a,5)+fun(b,4); printf(%d\n,s); }
①  45
②  50
③  60
④  66
【单选题】 下列程序执行后的输出结果是________. #include stdio.h void main( ) { int a=5,b=60,c; if (ab) {c=a*b;printf(%d*%d=%d\n,b,a,c);} else {c=b/a;printf(%d/%d=%d\n,b,a,c);} }
①  60/5=12
②  300
③  60*5=300
④  12
【单选题】 下列程序执行后的输出结果是_______.#include stdio.h void main( ) { int a=5,b=60,c; if (ab) {c=a*b; printf(%d*%d=%d\n,b,a,c);} else {c=b/a; printf(%d/%d=%d\n,b,a,c);} }
①  60/5=12
②  300
③  60*5=300
④  12
【单选题】 下列程序执行后的输出结果是 #includevoid main( ) { int a=5,b=60,c; if (ab) {c=a*b;printf(%d*%d=%d\n,b,a,c);} else {c=b/a;printf(%d/%d=%d\n,b,a,c);} }
①  60/5=12
②  300
③  60*5=300
④  12
【单选题】 以下程序的输出结果是(  )。#include stdio.h void main( ){ int a,b;for(a=1,b=1;aa++){ if (b=10) break;if (b%5==1) { b+=5; continue; } }printf(%d\n }
①  101
②  6
③  4
④  3
【单选题】 以下程序段:int i,a=3,b=2;i=(--a==b++)?--a:++b;printf(i=%d a=%d b=%d,i,a,b);输出结果是。
①  i=1 a=1 b=3
②  i=3 a=2 b=3
③  i=4 a=1 b=4
④  i=4 a=2 b=4
【简答题】 以下程序的输出结果是[填空1]。#include stdio.h void main( ){ int a,b;for(a=1,b=1;aa++){ if (b=10) break;if (b%5==1) { b+=5; continue; } }printf(%d\n }
【单选题】 下面程序的输出是 int fun3(int x) {static int a=3; a+=x; return(a); } void main() {int k=2,m=1,n; n=fun3(k); n=fun3(m); printf(%d\n }
①  3
②  4
③  6
④  9
【单选题】 下面程序的输出结果是 #includevoid main() { int a=5,b=3; float x=3.14, y=6.5; printf(%d,%d\n,a+b!=a-b,x=(y-=6.1)); }
①  1,0
②  0,1
③  1,1
④  0,0
随机题目
【单选题】 Being extremely_____to the cold,I do not like skating.
①  sensitive
②  senseless
③  insensitive
④  sensible
【单选题】 I dont feel like_____anything now.
①  to eat
②  eating
③  having eaten
④  to be eating
【单选题】 ( )的情感理论认为个体根据经验和情景线索对生理唤起加以解释,由此产生特定情绪。
①  威廉·詹姆斯
②  沃特·坎农
③  卡尔·兰格
④  沙赫特
【单选题】 利用音乐.幽默,引起快感的视觉刺激等营销方法,这是根据( )
①  刺激的突出性
②  刺激的熟悉感
③  消费者专业性
④  消费者情绪
【多选题】 消费者的能力差异主要表现在
①  能力水平
②  能力类型
③  能力表现时间
④  能力的自我感知
【判断题】 动机与消费行为之间是一一对应的关系
①  正确
②  错误
【单选题】 1899年, 诞生,成为世界上第一个全国性 的消费者组织。
①  美国消费者联盟
②  英国消费者联盟
③  法国消费者联盟
④  日本消费者联盟
【单选题】 根据( )群体的互动作用和接触率可分为主要群体和次要群体
①  拒绝
②  热望
③  会员
④  回避
【单选题】 ()是指产品所有权或持有权从一个渠道成员转到另一个成员手中的流转过程,这一流程通常是伴随着购销环节,在渠道中向前移动的。
①  实体流程
②  所有权流程
③  信息流程
④  货款流程
【单选题】 选择密集分销、选择分销还是独家分销,其决策主要应考虑()。
①  商品生产和消费在空间上的差异性@商品生产和消费在时间上的差异性
②  商品的特性
③  商品生产和消费在数量上的差异性