网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
S1的输出结果为 ______。
A.56
B.28
C.14
D.15
参考答案
更多 “ S1的输出结果为 ______。A.56B.28C.14D.15 ” 相关考题
考题
以下程序的输出结果是______# includemain(){char *s1,*s2,m;s1=s2=(char*)malloc(sizeof(char));*s1=15;*s2=20;m=*s1+*s2;printf(“%d\n”,m);}
考题
设有如下语句:s1;”20008年奥运会预祝中国申办”s2=subs(s1,13,8)+【 】(s1,4)+ 【 】(s1,12)+subs(s1,21,4)?s2请填空,使最后的输出结果为“预祝中国申办2008年奥运会成功“。
考题
下列程序的输出结果为( )。S1=”1”:S2=”2”:SI=Val(S1)+Val(S2):S2=Val(”12”)If S1S2 Then P int S1-S2 Else Print s1-S2A. -9B. 9C. -12D. 0
考题
以下程序的输出结果是( )。 include main() {char*s1,*s2,m; s1=s2=(char*)malloc(size
以下程序的输出结果是( )。include<stdlib.h>main(){char*s1,*s2,m;s1=s2=(char*)malloc(sizeof(char));*s1=15;*s2=20;m=*s1+*s2:printf("%d\n",m);}
考题
以下程序的输出结果为( )。main( ){ char s1[40]="country",s2[20]="side";int i=0,j=0;while(s1[i]!='\0') i++;while(s2[j]!='\0') s1[i++]=s2[j++];s1[i]=0;printf("%s\n",s1);}A sideB countryC sidetryD countryside
考题
当输入为 ‘cbabc’ 时,下列程序的输出结果为? s1 = raw_input() index = 0 s2 = '' while index < len(s1) - 1: if s1[index] > s1[index + 1]: s2 += s1[index] else: s2 = s2 * 2 index += 1 print s2
考题
char s1[]="hello",s2[]="2021"; strcat(s1,s2); puts(s1); 执行上述代码段的输出结果为A.hello2021B.2021C.2021oD.虽然编译器未报错,有时也能输出内容,但属于“错误”的语法
考题
下列程序执行后的输出结果是 。 void main() { printf(“'s1=%7s'”,"hello"); }A.s1=”hello”B.s1=7helloC.'s1= hello'D.’s1=”hello”’
热门标签
最新试卷