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

下面程序的输出结果是______。 main() { int x=11,*p=x; *p=23; printf("%d",x); }

下面程序的输出结果是______。

main()

{

int x=11,*p=x;

*p=23;

printf("%d",x);

}

提问人:网友anonymity 发布时间:2022-01-06
参考答案
查看官方参考答案
如搜索结果不匹配,请 联系老师 获取答案
更多“下面程序的输出结果是______。 main() { int…”相关的问题
第1题
下面程序执行后的输出结果是: #include <iostream> using namespace std; #define MA(x) x

下面程序执行后的输出结果是: #include <iostream> using namespace std; #define MA(x) x*x-1 int main() { int a=1,b=2; cout< <ma(1+a+b); return 0;> A、6

B、8

C、10

D、12

点击查看答案
第2题
下列程序执行后的输出结果是______。#define MA(x)x*(x-1)main(){inta=1,b=2; printf{"%d\n",MA(1

下列程序执行后的输出结果是______。#define MA(x) x*(x-1)main(){ int a=1,b=2; printf{"%d \n",MA(1+a+b));}

A.6

B.8

C.10

D.12

点击查看答案
第3题
下列程序执行后的输出结果是()#define MA(x) x*(x-1)main(){int a=1,b=2;printf("%d\n",MA(1+a+B

下列程序执行后的输出结果是() #define MA(x) x*(x-1) main() {int a=1,b=2; printf("%d\n",MA(1+a+B) ); }

A.5

B.6

C.7

D.8

点击查看答案
第4题
下面代码的输出结果是(). MA = lambda x,y:(x > y) * x + (x < y) * y MI = lambda x,y:(x > y) * y + (x < y) * x a = 10 b = 20 print(MA(a,b)) print(MI(a,b))

A.20,10

B.10,20

C.10,10

D.20,20

点击查看答案
第5题
下列程序执行后的输出结果是。#defineMA(x)x*(x-1)main{inta=1,b=2;printf(%d\n,MA(1+a+b));}()

A.6

B.8

C.10

D.12

E.B

F.1

点击查看答案
第6题
以下程序的输出结果是()。 include<stdio.h> fun() {static int a=0; a+=3;printf("%d",A); } ma

以下程序的输出结果是()。 include<stdio.h> fun() {static int a=0; a+=3;printf("%d",A); } main() {int cc; for(cc=1;cc<5;cc++)fun(); printf("\n"); }

点击查看答案
第7题
执行如下程序后的输出结果是【】。include <iostream>include <fstream>using namespace std;int ma

执行如下程序后的输出结果是【 】。

include <iostream>

include <fstream>

using namespace std;

int main ()

{

char s[25];

ofstream fl("data.txt");

f1<<"C++ Programming";

f1.close ();

ifstream f2 ("data.txt");

点击查看答案
第8题
以下程序的输出结果是【 】。 include <stdio.h> define MAX(x,y)(x),(y)?(x):(y) ma

以下程序的输出结果是【 】。 include <stdio.h> define MAX(x,y)(x),(y)?(x):(y) main() { int a=5,b=2,c=3,d=3,t; t=MAX(a+b,c+d)*10; printf("%d\n",t); }

点击查看答案
第9题
已知字符A的ASCII代码值为65,以下程序运行时若从键盘输入:B33<回车>,则输出结果是【】。 include ma

已知字符A的ASCII代码值为65,以下程序运行时若从键盘输入:B33<回车>,则输出结果是【 】。

include

main()

{ char a, b;

a=getchar(); scanf("% d", &b);

a=a-'A'+'0'; b=b*2;

printf("% c % c\n", a, b);

}

点击查看答案
第10题
以下程序的输出结果是#include<stdio.h>int a[3][3]={1,2,3,4,5,6,7,8,9,},*p;main(){p=(int*)ma

以下程序的输出结果是 #include<stdio.h> int a[3][3]={1,2,3,4,5,6,7,8,9,},*p; main() { p=(int*)malloc(sizeof(int)); f(p,a); printf("%d\n",*p); free(p);} f(int *s, int p[][3]) { *s=p[1][1];}

A.1

B.4

C.7

D.5

点击查看答案
第11题
以下程序运行后,若输入20后按“回车键”,则程序的输出结果是【1】. #include <stdio.h> int ma

以下程序运行后,若输入20后按“回车键”,则程序的输出结果是【1】. #include <stdio.h> int main() { int w; scanf("%d",&w); if(w>=20) printf("%d",w); else printf("%d",w-5); if(w<=15) printf("%d",w); else printf("%d",w-5); if(w>=15) printf("%d",w-10); else printf("%d",w+10); return 0; }

点击查看答案
账号:
你好,尊敬的用户
复制账号
发送账号至手机
密码将被重置
获取验证码
发送
温馨提示
该问题答案仅针对搜题卡用户开放,请点击购买搜题卡。
马上购买搜题卡
我已购买搜题卡, 登录账号 继续查看答案
重置密码
确认修改
欢迎分享答案

为鼓励登录用户提交答案,简答题每个月将会抽取一批参与作答的用户给予奖励,具体奖励活动请关注官方微信公众号:简答题

简答题官方微信公众号

警告:系统检测到您的账号存在安全风险

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

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