首页 > 行业知识
题目内容 (请给出正确答案)
[主观题]

有以下程序#include<stdio.h>#include<string.h>main(){char str[][20]={“Qne*World

有以下程序

#include<stdio.h>

#include<string.h>

main()

{char str[][20]={“Qne*World”,“one*Dream!”},*P=str[1 ].

prinff(“%d,”,strlen(p));printf(“%s\n”,P); ’

}

程序运行后的输出结果是

A.9,One*World S)

B.9,One*Dream!

C.10,One*Dream!

D.10,One*World

查看答案
答案
收藏
如果结果不匹配,请 联系老师 获取答案
您可能会需要:
您的账号:,可能还需要:
您的账号:
发送账号密码至手机
发送
安装优题宝APP,拍照搜题省时又省心!
更多“有以下程序#include<stdio.h>#include…”相关的问题
第1题
有以下程序:#include <stdio. h>main (){char a :'a',b; printf("% c," , + + a); printf("%c

有以下程序: #include <stdio. h> main () { char a :'a',b; printf("% c," , + + a); printf("%c \n" ,b =a++); }程序运行后的输出结果是()。

A.b,b

B.b,c

C.a,b

D.a,c

点击查看答案
第2题
有以下程序: #include <stdio. h >main(){ int m =3,n =4,x; x= -m++; x=x+8/++n; prinff(" % d

有以下程序: #include <stdio. h > main() { int m =3,n =4,x; x= -m++; x=x+8/++n; prinff(" % d \n" ,x); } 程序运行后的输出结果是()。

A.3

B.5

C.-1

D.-2

点击查看答案
第3题
有以下程序()

A.#include

B.0

C.-1

D.1

E.7

点击查看答案
第4题
有以下程序()

A.#include

B.x=4

C.x=8

D.x=6

E.x=12

点击查看答案
第5题
有以下程序#include<stdio.h>main(){int a=7; while(a--); printf("%d\n",a);}程序运行后

有以下程序

#include<stdio.h>

main()

{ int a=7;

while(a--);

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

}

程序运行后的输出结果是

A.-1

B.0

C.1

D.7

点击查看答案
第6题
有以下程序: #include<stdio.b> void fun(char c) { if(c>X)fun(c-1): printf("%C"

有以下程序: #include<stdio.b> void fun(char c) { if(c>X)fun(c-1): printf("%C",c); } traia() { fun(z);} 程序运行后的输出结果是()

A.xyz

B.wxyz

C.xzy

D.zvx

点击查看答案
第7题
有以下程序#include<stdio.h>main(){char ch[3][5]=("AAAA","BBB","CC"); printf("%s\n",c

有以下程序

#include<stdio.h>

main()

{ char ch[3][5]=("AAAA","BBB","CC");

printf("%s\n",ch[1]);

}

程序运行后的输m结果是

A.AAAA

B.CC

C.BBBCC

D.BBB

点击查看答案
第8题
有以下程序:#include<stdio.h>main(){int x=3,y=2,z=1; printf("%d\n",x/y&~z);程序运行后的

有以下程序: #include <stdio.h> main() { int x=3,y=2,z=1; printf("%d\n",x/y&~z); 程序运行后的输出结果是()。

A.3

B.2

C.1

D.0

点击查看答案
第9题
有以下程序#include <stdio.h>main(){ int x=1, y=2, z=3; if(x>y) if(y<z) printf(

有以下程序#include <stdio.h>main() { int x=1, y=2, z=3; if(x>y) if(y<z) printf("%d", ++z); else printf("%d", ++y); printf("%d\n", x++);}程序的运行结果是A.331 B.41 C.2 D.1

点击查看答案
第10题
有以下程序#include<stdio.h>#define S(x)4*(x)*x+1main(){int k=5,j=2; printf(“%d\n”,S(

有以下程序

#include<stdio.h>

#define S(x)4*(x)*x+1

main()

{int k=5,j=2;

printf(“%d\n”,S(k+j));

}

程序运行后的输出结果是

A.197

B.143

C.33

D.28

点击查看答案
第11题
‎有以下程序‎#include‎void main()‎{int a ;‎scanf("%d",&a);‎if(a >= 0)‎{if

A.-11 is a positive odd number.

B.-11 is a negative odd number.

C.-11 is a positive even number.

D.11 is a negative even number.

点击查看答案
退出 登录/注册
发送账号至手机
密码将被重置
获取验证码
发送
温馨提示
该问题答案仅针对搜题卡用户开放,请点击购买搜题卡。
马上购买搜题卡
我已购买搜题卡, 登录账号 继续查看答案
重置密码
确认修改