题目内容 (请给出正确答案)
[主观题]

有以下程序:#include<stdio.h>main(){int a=1,b=2;for(;a<12;a++) {b+=a*2;a+=3;}printf("%d,%d\

有以下程序: #include <stdio.h> main() { int a=1,b=2; for(;a<12;a++) {b+=a*2;a+=3;} printf("%d,%d\n",b,A); } 程序运行后的输出结果是()。

A.32,13

B.46,10

C.72,13

D.72,10

查看答案
如搜索结果不匹配,请 联系老师 获取答案
您可能会需要:
您的账号:,可能会需要:
您的账号:
发送账号密码至手机
发送
更多“有以下程序:#include<stdio.h>main(){…”相关的问题

第1题

有以下程序 #include “stdio.h” int main()

A.a=1 , b=0

B.a=2,b=2

C.a=1,b=1

D.a=2,b=1

点击查看答案

第2题

有以下程序: #include<stdio.h> main() { int a=12,C; c=(a<<2)<<1; p

有以下程序: #include<stdio.h> main() { int a=12,C; c=(a<<2)<<1; printf("%d\n",c); } 程序运行后的输出结果是()。

A.3

B.50

C.2

D.96

点击查看答案

第3题

有以下程序#include <stdio.h>main(){ int a=5,b=1,t;t=(a<<2)|b; printf("%d\

有以下程序

#include <stdio.h>

main()

{ int a=5,b=1,t;

t=(a<<2)|b; printf("%d\n",t);

}

程序运行后的输出结果是

A)21

B)11

C)6

D)1

点击查看答案

第4题

有以下程序#include <stdio.h>main(){ int a=1,b=2,c=3,x;x=(a^b)&c; printf("%d

有以下程序

#include <stdio.h>

main()

{ int a=1,b=2,c=3,x;

x=(a^b)&c; printf("%d\n",x);

}

程序的运行结果是

A)0

B)1

C)2

D)3

点击查看答案

第5题

有以下程序:include<stdio.h>main(){ int a=12,C; c=(a<<2)<<1; printf(&qu

有以下程序:

include<stdio.h>

main()

{ int a=12,C;

c=(a<<2)<<1;

printf("%d\n",c);

}

程序运行后的输出结果是()。

A.3

B.50

C.2

D.96

点击查看答案

第6题

(34 )有以下程序#include <stdio.h>int fun (){ static int x=1;x*2; return x;}main (){

(34 )有以下程序

#include <stdio.h>

int fun ()

{ static int x=1;

x*2; return x;

}

main ()

{ int i,s=1 ,

for (i=1;i<=2;i++ ) s=fun () ;

printf (" %d \ n " ,s ) ;

程序运行后的输出结果是

A ) O

B ) 1

C ) 4

D ) 8

点击查看答案

第7题

(34 )有以下程序#include <stdio.h>int fun (){ static int x=1;x*2; return x;}main (){

(34 )有以下程序

#include <stdio.h>

int fun ()

{ static int x=1;

x*2; return x;

}

main ()

{ int i,s=1 ,

for (i=1;i<=2;i++ ) s=fun () ;

printf (" %d \ n " ,s ) ;

程序运行后的输出结果是

A ) O

B ) 1

C ) 4

D ) 8

点击查看答案

第8题

(34 )有以下程序#include <stdio.h>int fun (){ static int x=1;x*2; return x;}main (){

(34 )有以下程序

#include <stdio.h>

int fun ()

{ static int x=1;

x*2; return x;

}

main ()

{ int i,s=1 ,

for (i=1;i<=2;i++ ) s=fun () ;

printf (" %d \ n " ,s ) ;

程序运行后的输出结果是

A ) O

B ) 1

C ) 4

D ) 8

点击查看答案

第9题

(39)有以下程序 #include <stdio.h> main() { int a=5,b=1,t; t=(a<<2|b); prin

(39)有以下程序

#include <stdio.h>

main()

{ int a=5,b=1,t;

t=(a<<2|b); printf(“%d\n”,t)

}

程序运行后的输出结果是

A)21 B)11 C)6 D)1

点击查看答案
发送账号至手机
密码将被重置
获取验证码
发送
温馨提示
该问题答案仅针对搜题卡用户开放,请点击购买搜题卡。
马上购买搜题卡
我已购买搜题卡, 登录账号 继续查看答案
重置密码
确认修改
温馨提示
每个试题只能免费做一次,如需多次做题,请购买搜题卡
立即购买
稍后再说
警告:系统检测到您的账号存在安全风险

为了保护您的账号安全,请在“赏学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!

微信搜一搜
赏学吧
点击打开微信
警告:系统检测到您的账号存在安全风险
抱歉,您的账号因涉嫌违反赏学吧购买须知被冻结。您可在“赏学吧”微信公众号中的“官网服务”-“账号解封申请”申请解封,或联系客服
微信搜一搜
赏学吧
点击打开微信