执行下列程序段float f;int i;scanf("%3d%4d%f",&i,&f);输入为12345678765.43,则赋值结果为();
A. i=123,f=45678765.43
B. i=123,f=4.567876543e+7
C. i=123,f=8765.43
D. i=12345678765;f=0.43
执行程序段char str[20]={'a','b','c','\o'};int len=strlen(str);变量len的值为( )
A. 20
B. 4
C. 3
D. 3或4或20
下面程序的输出是#includevoid main(){ int a=-1,b=4,k;k=(a++<=0)&&(!(b--<=0));printf("%d%d%d%\n",k,a,b);}
A. 0 0 3
B. 0 1 2
C. 1 0 3
D. 1 1 2
下面程序的输出是#includevoid main(){char p1[10] ="abc", p2[] ="ABC";printf("%s\n", strcat(p1,p2));}
ABCabc
B. ABabc
C. abcABC
D. 不确定的值