A.)123.141593 B)12 3.141593 C)12,3.141593 D)123.141593
[单选题]程序段:int x=12;doub1e y=3.141593;printf("%d%8.6f"x,y);的输出结果是______。A.123.141593B.12 3.141593C.12,3.141593D.123,1415930
[试题]若有语句 double x=17;int y; ,当执行 y=(int)(x/5)%2; 之后 y 的值为 ( 7 ) 。
[单选题]下列程序的输出结果是 main() {double d=3.2;int x,y; x=1.2;y=(x+3.8)/5.0; printf("%d/n",d*y);}A.3B.3.2C.0D.3.07
[单选题]有下列程序段:struct st{int x;int*y;}*pt;int a[]={1,2},b[]={3,4};stmct st c[2]={10,a,20,b};pt=c;下列选项中表达式的值为11的是( )。A.*pt->yB.pt->xC.++pt->xD.(pt++)->X
[单选题]有以下程序段 struct st {int x;int *y;}*pt; int a[]={1,2},b[]={3,4}; struct st c[2]={10,a,20,b}; pt=c; 以下选项中表达式的值为11的是______。A.*pt->yB.pt->xC.++pt->xD.(pt++)->x
[单选题]有下列程序段: struct st {int x;int *y;}*pt; int a[]={1,2},b[]={3,4}; struct st c[2]={10,a,20,b}; pt=c; 下列选项中表达式的值为11的是( )。A.*pt->yB.pt->xC.++pt->xD.(pt++)->X
[单选题]有以下程序段struct st{int x;int *y;)*pt;int a[]={l,2},b[]={3,4};struct st c[2]={10,a,20,b};pt=c;以下选项中表达式的值为 11 的是A.)*pt->yB.)pt->xC.)++pt->xD.)(pt++)->x
[单选题]若x是int型变量,且有下面的程序段: for(x=3;x<6;x++) printf((x%2)?("**%d"):("##%d/n"),x); 此程序段的输出结果是( )。A.**3 ##4 **5B.##3 **4 ##5C.##3 **4##5D.** 3##4 **5
[单选题]有以下程序段: struct st { int x; int * y; } * pt; int a[] = {1,2} ,b[] = {3,4}; struct st c[2] = {10,a,20,b}; pt=c; 以下选项中表达式的值为11的是( )。A.*pt->yB.pt->xC.++pt->xD.(pt++)->x
[单选题]执行以下程序段后,T的值为int T=’a’, x=12, y=5;T=((x || y)&&(T>’A’));A.1 B.NULL C.-l D.0