重要提示:请勿将账号共享给其他人使用,违者账号将被封禁!
查看《购买须知》>>>
首页 > 计算机应用技术> 计算机操作系统
网友您好,请在下方输入框内输入要搜索的题目:
搜题
拍照、语音搜题,请扫码下载APP
扫一扫 下载APP
题目内容 (请给出正确答案)
[主观题]

阅读下面程序,在程序执行后的结果为()。 include“stdi0.h” int*fun(int*a,int*b) { int m

阅读下面程序,在程序执行后的结果为()。 include“stdi0.h” int*fun(int*a,int*b) { int m; m=*a; m+=*b一3; return(&m); } main() { int x=21,y=35,*a=&x,*b=&y; int*k; k=fun(a,b); printf(“%d\n”,*k); )

A.53

B.2l

C.35

D.14

答案
查看答案
更多“阅读下面程序,在程序执行后的结果为()。 include“stdi0.h” int*fun(int*a,int*b) { int m”相关的问题

第1题

阅读下面程序:List_demo =[1,2,1,3]Nums = set(list_demo)For i in numsPrint(i,end=””)执行的结果为()

A. 1213

B.213

C.321

D.123

点击查看答案

第2题

阅读下面程序,则程序的执行结果为【 】。 include"stdio.h" main() { int

阅读下面程序,则程序的执行结果为【 】。 include"stdio.h" main() { int a=30,b=20,z; z=fun(a+b,a-b); printf("%d\n",z);} fun(int a,int b) { int z; z=a/b; return z;}

点击查看答案

第3题

阅读下面程序,则程序的执行结果为【 】。 include"stdio.h" fun(int k,int*p) { int

阅读下面程序,则程序的执行结果为【 】。 include"stdio.h" fun(int k,int*p) { int a,b; if(k==1‖k==2) *p=1; else{ fun(k-1,&a); fun(k-2,&b); *p=a+b; } } main() { int x; fun(6,&x); printf("%d\n",x);}

点击查看答案

第4题

阅读下面的程序:def func():print(x)x=100func()执行上述语句后,输出的结果为()。

A. 0

B.100

C.程序出现异常

D.程序编译失败

点击查看答案

第5题

执行下面程序,输出的结果为()

A.4,3,2

B.3,3,2

C.3,3,3

D.3,2,2

点击查看答案

第6题

阅读下面程序,它的输出结果是什么?inti=0;while(i<3){System.out.print("*");i++;}System.out.print("*");

A.*

B.**

C.***

D.****

点击查看答案

第7题

阅读下列算法,说明程序功能,并用图示输出执行后的结果。 include<stdio.h> inclu
de<malloc.h> define n 7 typedef struct Node{char data;struct Node*Lc,*Rc;)Node,*BiNode; void unknowm(BiNode t,int i,char*a) {t=(Node*)malloc(sizeof(Node)); t一>data=a[i];

点击查看答案

第8题

阅读下面语句,则执行后的输出结果为【 】。 include"stdio.h" main() { char a,b;

阅读下面语句,则执行后的输出结果为【 】。 include"stdio.h" main() { char a,b; for(a=0,b=9;a<b;a++,b--) printf("%c%c",a,b); printf("\n");}

点击查看答案

第9题

执行下面代码,结果为():name_list=[]ifname_listandname_list[100]=='张三':print('OK')

A.程序报错

B.OK

C.NULL

D.无输出

点击查看答案

第10题

阅读下面程序,判断它的输出结果class UseURL{public static void main(String args [ ]){URL u

阅读下面程序,判断它的输出结果

class UseURL{public static void main(String args [ ])

{URL url=null;try

{url=new URL("http://java.sun.com:8080/java/doc1.html");}

catch(MalformedURLException e)

{System.out.println("MalformedURLException.");}

System.out.println(url.toString());}}

A、MalformedURLException.

B、http://java.sun.com:8080/java.doc1.html

C、http://java.sun.com/java.doc1.html

D、//java.sun.com/java.doc1.html

点击查看答案

第11题

阅读下面代码: import java.awt.*; public class Exam11_1 { private Frame.
f; private Button bl,b2,b3,b4; public static void main(String args[] { Exam11_1 that = new Exam11_1 (); that.go(); } public void go () { ______; f.setLayout(new FlowLayout());; bl = new Button ("Button 1"); b2 = new Button ("Button 2"); b3 = new Button ("Button 3"); b4 = new Button ("Button 4"); f.add(b1); f.add(b2); f.add(b3); f.add(b4); f.pack(); f.setVisible(true); } } 请在程序中画线处填写正确的语句【 】,以便编译运行程序后得到正确的结果。

点击查看答案
下载APP
关注公众号
TOP
重置密码
账号:
旧密码:
新密码:
确认密码:
确认修改
购买搜题卡查看答案 购买前请仔细阅读《购买须知》
请选择支付方式
  • 微信支付
  • 支付宝支付
点击支付即表示同意并接受了《服务协议》《购买须知》
立即支付 系统将自动为您注册账号
已付款,但不能查看答案,请点这里登录即可>>>
请使用微信扫码支付(元)

订单号:

遇到问题请联系在线客服

请不要关闭本页面,支付完成后请点击【支付完成】按钮
遇到问题请联系在线客服
恭喜您,购买搜题卡成功 系统为您生成的账号密码如下:
重要提示:请勿将账号共享给其他人使用,违者账号将被封禁。
发送账号到微信 保存账号查看答案
怕账号密码记不住?建议关注微信公众号绑定微信,开通微信扫码登录功能
请用微信扫码测试
优题宝