以下程序运行后的输出结果是______。 main { inn a=b= c=5: if (c=a+b
以下程序运行后的输出结果是______。 main { inn a=b= c=5: if (c=a+b) printf ("yes\n); else printf ("no\n); }
以下程序运行后的输出结果是______。 main { inn a=b= c=5: if (c=a+b) printf ("yes\n); else printf ("no\n); }
第3题
A.456
B.246
C.123123
D.123
第4题
若有如下程序: main() { int s=8,a=3,b=5,c=6; if(a>b) s=a; a=b; b=s; if(a>c) {s=a; a=c;b=s); if(b>c) s=b; b=c;c=s; printf("%d,%d,%d\n",a,b,c); } 则程序运行后的输出结果是【 】。
第5题
#include <string.h> void f(char *s,char *t) {char k; k=*s; *s=*t;*t=k; s++;t--; if(*s)f(s,t); } main() {char str[10]="abcdefg",*p; p=str+strlen(str)/2+1; f(p,p-2); printf("%s\n",str); } 程序运行后的输出结果是()。
A.gfedcba
B.gbcdefa
C.abedcfg
D.abcdefg
第6题
Private Sub Command1_Click()
Dim a, b As Integer
a = val(InputBox("Enter the First integer"))
b = val(InputBox("Enter the Second integer"))
Print a + b
End Sub
程序运行后,单击命令按钮,先后在两个输入对话框中分别输入123和456,则输出结果是和()。
A.579
B.123
C.456
D.123456
第7题
A.输出空格
B.\0
C.e
D.f
第8题
A.finallyexceptioninmainfinished
B.exceptioninmainfinally
C.finallyfinished
D.finallyexceptioninmainfinished
第9题
A.运行程序段后输出1
B.运行程序段后输出0
C.程序段执行无限次
D.程序段中的控制表达式是非法的
第10题
以下程序的输出结果是______。 include<stdio.h> main() { double a=1234.56789; printf("%8.4f,%8.2f\n",a,a); }