题目内容
(请给出正确答案)
[单选题]
有以下程序 #include
有以下程序 #includemain(); } 程序运行后的输出结果是
A.-1,0
B.0,0
C.-1,-1
D.1,1
查看答案
如果结果不匹配,请 联系老师 获取答案
A.-1,0
B.0,0
C.-1,-1
D.1,1
有以下程序
在VC6平台上编译运行。程序运行后的输出结果是()。
A.4,8
B.4,4
C.2,4
D.10,6
有以下程序: main() { unsigned int a; int b=-1; a=b; printf("%u",a); } 程序运行后的输出结果是()。
A.-1
B.65535
C.32767
D.-32768
以下程序的输出结果是______。#includemain(){ char *p1,*p2,str[50]="ABCDEFG"; p1="abcd";p2="efgh"; strcpy(str+1,p2+1);strcpy(str+3,p1+3); printf("%s",str);}
A.AfgdEFG
B.Abfhd
C.Afghd
D.Afgd
以下程序运行后的输出结果是______。
char s[]="\\141\141abc\t";
printf("%d\n",strlen(s));
有以下程序 main() { int a=666,b=888; printf("%d\n",a,B) ; } 程序运行后的输出结果是
A.错误信息
B.666
C.888
D.666,888
有以下程序 main() { int m=0256,n=256; printf("%0 %o\n",m,n); } 程序运行后的输出结果是______。
A.0256 0400
B.0256 256
C.256 400
D.400 400