[单选题]

?STR(123.45,5,1)命令的输出结果是( )。

A.123.4

B.123.5

C.123.45

D.*****

参考答案与解析:

相关试题

?STR(123.45,5,1)命令的输出结果是( )。

[单选题]?STR(123.45,5,1)命令的输出结果是( )。A.123.4B.123.5C.123.45D.*****

  • 查看答案
  • 命令?LEN(STR(23.2,5,1))的执行结果是()。

    [单选题]命令?LEN(STR(23.2,5,1))的执行结果是()。A . 2B . 3C . 4D . 5

  • 查看答案
  • 以下程序的输出结果是( )。main{char str[]1£­10]={"ch

    [单选题]以下程序的输出结果是( )。main{char str[]1-10]={"china","beijing"),*p=str;printf("%s\n",p+10);}A.ChinaB.BeijingC.ngD.ing

  • 查看答案
  • 下列程序的输出结果是#includevoid main( ){char*str=

    [单选题]下列程序的输出结果是includevoid main( ){char*str="12123434";int xl=0,x2=0,x3=下列程序的输出结果是 #include<iostream.h> void main( ) {char*str="12123434"; int xl=0,x2=0,x3=0,x4=0,i; for(i=0;str[i]!='/0';i++) switch(str[i]) {case'1':x4++; case'2':x3++; case'3'

  • 查看答案
  • 若N="123.45",则执行命令?67+&N的结果是()。

    [单选题]若N="123.45",则执行命令?67+&N的结果是()。A . 67123.45B . 190.45C . 67+&ND . 124

  • 查看答案
  • 下列程序的输出结果是#includevoid main(){char*str="

    [单选题]下列程序的输出结果是includevoid main(){char*str="12123434";int x1=0,x2=0,x3=0下列程序的输出结果是 #include<iostream.h> void main() {char*str="12123434"; int x1=0,x2=0,x3=0,x4=0,i; for(i=0;str[i]!='/0';i++) switch(str[i]) {case'1':x4++; case'2':X3++; case'3':

  • 查看答案
  • 下列程序的输出结果是#includevoid main(){char*str="

    [单选题]下列程序的输出结果是includevoid main(){char*str="12123434"; int x1=0,x2=0,x3=下列程序的输出结果是 #include<iostream.h> void main() { char*str="12123434"; int x1=0,x2=0,x3=0,x4=0,i; for(i=0;str[i]!=‘/0’;i++) switch(str[i]) { case'l':x4++; case'2':X3++; case'3':

  • 查看答案
  • 以下程序的输出结果是______。main(){char str[12]={'s

    [单选题]以下程序的输出结果是______。 main() { char str[12]={'s','t','r','i','n','g'}; printf("%d/n",strlen(str)); }A.6B.7C.11D.12

  • 查看答案
  • 下列程序的输出结果是______。char*fun(char*str,int n

    [单选题]下列程序的输出结果是______。 char*fun(char*str,int n) { int i; char*p=str; for(i=0;i<10;i++,str++) *str='a'+i; return++p; } main() { char a[10]; printf("%s/n",fun(a,10)); }A.ABCDEFGHIJB.abcdefghijC.bcdefghijD.不确定的值

  • 查看答案
  • 以下程序的输出结果是 ______。struct HAR{int x,y;str

    [单选题]以下程序的输出结果是 ______。 struct HAR {int x,y;struct HAR*p;}h[2]; main() { h[0],x=1;h[0].y=2; h[1]x=3;h[1].y=4; h[0].p、&h[1];h[1].p=h; printf("%d%d/n",(h[0].p)->x,(h[1].p)->y; }A.12B.23C.14D.32

  • 查看答案
  • ?STR(123.45,5,1)命令的输出结果是()。