单选题语句:printf(""%d"",(a=2)(b=-2));的输出结果是()A无输出B结果不确定C-1D1

单选题
语句:printf(""%d"",(a=2)&&(b=-2));的输出结果是()
A

无输出

B

结果不确定

C

-1

D

1


参考解析

解析: 暂无解析

相关考题:

如下语句printf("%c\n",′B′+40);在执行后的输出结果是 【9】 。

若有下列说明和语句,已知int型数据占2个字节,则下列语句的输出结果是( )。stmct st{char a[15];intb;double c;};printf("%d",sizeof(structSt));A.15B.8C.25D.2

若有下列说明和语句,已知int型数据占2个字节,则下列语句的输出结果是( )。stmct st{ char a[15];int b;double c;};printf("%d",sizeof(struct st));A.15B.8C.25D.2

以下语句段执行后的输出结果是()。includemain(){int k=3;if(k)printf("")elseprint 以下语句段执行后的输出结果是( )。 #include<stdio.h> main() {int k=3; if(k) printf("###") else printf("");}A.###B.C.###D.有语法错误,不能执行

语句“printf("%d",(a=2)(b=-2);”的输出结果是______。A.无输出B.结果不确定C.-1D.1

以下程序的输出结果是( )。 include void fun(int x) {if(x/2>0)fun(x/2); printf("%d", 以下程序的输出结果是( )。include<stdio.h>void fun(int x){ if(x/2>0)fun(x/2);printf("%d",x);}main(){fun(3);printf("\n");}

已知int k=10,m=3,n;则下列语句输出结果是printf("%d\n",n=(k%m,k/m));A.2B.3C.4D.5

“printf("%d\n",strlen("\t\"\023\xAB\nC"));”语句的输出结果是( )。

设有说明:int a=1,b=0;,则执行以下语句的输出结果是______。 switch(a) {case 1: switch(b) {case 0:printf("**0**\n");break; case 1:printf("**1*\n");break; } case 2:printf("**2**\n");break; }A.**0**B.**0** **2**C.**0** **1** **2**D.switch语句中存在语法错误

语句:printf("%d\n",12012);的输出结果是( )。A.12B.8C.6D.12

语句:“printf("%d",(a=)&&(b=-2));”的输出结果是( )。A.无输出B.结果是不确定C.-1D.1

执行以下语句后的输出结果是______。int x=3,y=0;printf("%d,%d”,-1>x>-101y> 执行以下语句后的输出结果是______。 int x=3,y=0; printf("%d,%d”,-1>x>-101<x<10,-1>y>-101<y<10);A.1 2B.1 1C.1 2D.2 2

有如下定义:charstr[3][2]={’a’,’b’,’c’,’\0’,’e’,’f’};则语句:printf("%s",str[0]);的输出结果是() A.abB.abcefC.abc\0D.abc

若有以下定义语句: char * sl="12345", * s2="1234"; printf("%d"n",strlen(strcpy(s1,s2))); 则输出结果是 ( )A.4B.5C.9D.10

语句"printf("%d\n"strlen("ats\nol2\1\\"));"的输出结果是( )A.11B.10C.9D.8

若有以下定义和语句,则输出的结果是______。 char c1='b',c2='e'; printf("%d,%c\n",c2-c1,c2-'a'+"A");A.2,MB.3,EC.2,ED.输出结果不确定

执行“printf("%c",’A’+2);”语句后得到的输出结果为()。

若已定义:int a=5;floatb=63.72;以下语句中能输出正确值的是()A、printf(“%d%d”,a,b)B、printf(“%d%2f”,a,b)C、printf(“%2f%2f”,a,b)D、printf(“%2f%d”,a,b)

有如下定义:charstr[3][2]={’a’,’b’,’c’,’/0’,’e’,’f’};则语句:printf("%s",str[0]);的输出结果是()A、abB、abcefC、abc/0D、abc

设有说明语句:int x=1;,语句printf(“%d/n”,-x++);的输出结果是()A、-1B、0C、1D、2

语句:printf("%d",(a=2)(b=-2));的输出结果是()。A、无输出B、结果不确定C、1D、2

设有如下定义:intx=l,y=-1;,则语句:printf(""%d/n"",(x--++y));的输出结果是()A、1B、0C、-1D、2

语句:printf(""%d"",(a=2)(b=-2));的输出结果是()A、无输出B、结果不确定C、-1D、1

设有定义int m=1,n=-1;则执行语句printf(〞%d/n〞,(m--++n));后的输出结果是()A、-1B、0C、1D、2

单选题有如下定义:charstr[3][2]={’a’,’b’,’c’,’/0’,’e’,’f’};则语句:printf("%s",str[0]);的输出结果是()AabBabcefCabc/0Dabc

单选题设有说明语句:int x=1;,语句printf(“%d/n”,-x++);的输出结果是()A-1B0C1D2

单选题设有如下定义:intx=l,y=-1;,则语句:printf(""%d/n"",(x--++y));的输出结果是()A1B0C-1D2