下列程序运行时,若输入 1abcedf2df< 回车 > 输出结果为 __________ 。 #include main() { char a=0,ch; while((ch=getchar())!='\n') { if(a%2!=0&&(ch>='a'&&ch<='z')) ch=ch-'a'+'A'; a++; putchar(ch); } printf(\n); }
有以下程序: #include void main() { char a[][10] = {'Morning', 'Afternoon', 'Evening', 'Night'}; printf('%s',a[1]); } 程序运行后的输出结果是__________。
有以下程序#includevoid main( ){if (' ' == 0) putchar('1');if ('0' == 0) putchar('2');if ('a' > 'b') putchar('3');}程序运行后的输出结果是________。
有以下程序#includevoid main(){int a, b, c=241;a = c/100 % 9;b = ( -1 )&&( -1 );printf('%d, %d ', a, b );}程序运行后的输出结果是_______。
下列程序运行后输出结果是_______. Private Sub Form_Click() K=1 For I=5 to 1 step -1 T=T*10 + K S=S+T Next I Print S End sub
有以下程序main(){int a=666,b=888;printf(\%d\\n\,a,b);} 程序运行后的输出结果是______。
运行如下程序段,输出结果为________。Private Sub command1_click()a = 2: b = 3: c = 4a= a + b: b = b + a: c = b + aIf a <> 3 Or b <> 3 Thena = b - a: b = c - a: c = b + aEnd IfPrint a + b + cEnd Sub
以下程序程序运行后的输出结果是_____。#include#define MA(x) x*(x-1)void main(){ int a = 1, b = 2;printf('%d ', MA(1+a+b));}
编写如下程序:Private Sub Command1_Click()Dim score As Integerscore = 90If score > 80 Thenr = 5ElseIf score > 60 Thenr = 3Elser = 1End IfPrint rEnd Sub程序运行后,单击命令按钮Command1,输出结果为(______)。
运行下面的程序,其输出结果为______。 main() { printf("%d,%d",5%-3,-5%3); }A.2,-2B.-2,2C.-2,-
要求下面的程序运行后,显示如下结果: 2 10 4 6 1 5 2 3 2 4 7 8 5 1 3 2 下列程序执行后的输出结果是________。 include void main(); }
以下程序运行后,消息框的输出结果是_________。 a=sqr(3) b=sqr(2) c=a>b Msgbox c+2
以下程序的输出结果是______。sub(int x,int*y){*y=*y-x;}main(){ inta=1,b=2;sub(a,&B) ;sub
阅读以下程序,写出程序运行后的输出结果是 ______。include<iostream.h>void main(){char a[]={'
以下程序的功能是进行位运算: main() { unsigned chara,b; a=7^3;b= ~4&3; printf("%d %d\n",a,b); } 程序运行后的输出结果是 ______。
有以下程序: main() { int a=1,b=2,m=0,n=0,k; k=(n=b>a)||(m=a<b); printf("%d,%d\n",k,m); } 程序运行后的输出结果是 ______。
有以下程序 main() { int c=35; printf("%d\n",c&c); } 程序运行后的输出结果是______。A.0B.
以下程序运行后,输出结果为______。 main() {int y=18,i=0 j,a[8]; do { a[i]=y%2; i++; y=y/2; }
以下程序运行后的输出结果是_____main(){inta=23;printf("%d/n",(a/3>0?a/10:a%3));}
8、阅读以下程序,分析运行结果中的第二行输出为________________.(不考虑 程序运行后字典元素的顺序变化) dic={'a':[1,2,3],'b':[4,5,6],'c':[7,8,9]} for k,v in dic.items(): print(sum(v)//len(v))
下列程序段的执行结果为Private Sub Command1_Click() Text1.Text=c End Sub程序运行后,如果从键盘上输入’16’,则在文本框显示的内容是______
以下程序运行后输出的结果是______。 main() chara="123456789",*p; int i=0; p=a; while(*p) if(i%2!=0&&i%3==0)*p=’*’; p++; i++; puts(a);
以下程序运行后输出的结果是______。 void main() int a,b,c; a=10;b=20;c=(a%b<1)||(a/b>1); printf("%d %d %d",a,b,c);
下列程序段运行结束后,消息框中的输出结果是_______。 Dim C As Boolean A=Sqr(3) B=Sqr(2) C=a>b MsgBox C