下面程序运行后的输出结果是()。struct abc{int a,b,c;}main(){struct abc s[2]={{1,2,3},{4,5,6}};int t;t=s[0].a+s[1].b;printf("%d\n",t);}
A.5
B.6
C.7
D.8
- · 有1位网友选择 A,占比100%
A.5
B.6
C.7
D.8
以下程序的输出结果是 () #include<stdio.h> main() {struct stru{int a,b: char c[6]; }: printf("%d\n",sizeof(stru)), }
A.2
B.4
C.8
D.10
以下程序的输出结果是【 】。
include<stdio.h>
main()
{ struct stru
{ int a;
float b;
char d[4];
};
printf("%d\n",sizeof(struct stru));
}
下面程序运行后的输出结果是_________。 #include <stdio.h> int main() { int x=10,y=20,t=0; if(x==y) t=x;x=y;y=t; printf("%d",x); }
下面程序运行后的输出结果是______。Private Sub Command1_ Click () for j = 1 To 10 if j Mod 3 <> 0 then a =a+j\3 Next j Print aEnd Sub
A.20
B.10
C.3
D.9
下面程序运行后的输出结果是 Private Sub Command1_Click() For j=1 To 10 If j Mod 3<>0 Then a=a+j\3 Next Print a End Sub
A.20
B.10
C.3
D.9
为了保护您的账号安全,请在“简答题”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!