[单选题]

以下程序的输出结果是______。 main() { chsr st[20]="bello/0/t//"; print("%d%f/n",strlen(st),sizeof(st)); }

A.99

B.520

C.1320

D.2020

参考答案与解析:

相关试题

以下程序的输出结果是_______。 main() {char st[20]="

[单选题]以下程序的输出结果是_______。 main() { char st[20]="hello/0/t//"; printf(%d%d/n",strlen(st),sizeof(st)); }A.99B.520C.1320D.2020

  • 查看答案
  • 以下程序的输出结果是( )。main( ){ char st[20]="hell

    [单选题]以下程序的输出结果是( )。main( ){ char st[20]="hell0/O/t///”;printf("%d%d/n&quo以下程序的输出结果是( )。main( ){ char st[20]="hell0\O\t\\\”;printf("%d%d\n",strlen(st),sizeof(st));}A.9 9B.5 20C.13 20D.20 20

  • 查看答案
  • 以下程序的输出结果是 ______。main(){char st[20]="he

    [单选题]以下程序的输出结果是 ______。 main() { char st[20]="hello'、0/t//"; printf("%d%d/n",strlen(st),sizeof(st)); }A.99B.520C.1320D.2020

  • 查看答案
  • 以下程序的输出结果是______。 main() {char st[20]="h

    [单选题]以下程序的输出结果是______。 main() { char st[20]="hello/0/t//"; printf("%d%d/n",strlen(st),sizeof(st)); }A.99B.520C.1320D.2020

  • 查看答案
  • 以下程序的输出结果是______。main(){char st[20]="hel

    [单选题]以下程序的输出结果是______。 main() { char st[20]="hello/0/t//"; printf("%d%d/n",strlen(st),sizeof(st)); }A.99B.520C.1320D.2020

  • 查看答案
  • 下列程序的输出结果是()。 #include main() {stmct st

    [单选题]下列程序的输出结果是()。 include main() {stmct st {int y,x,z; }; union {long i; i下列程序的输出结果是( )。#include<stdio.h>main(){ stmct st{ int y,x,z;};union{ long i;int j;char k;}un;printf("%d,%d/n",sizeof(stmct st),sizeof(un));}A.6,2B.6,4C.8,4D.8,6

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

    [单选题]下列程序的输出结果是()。includevoid main(){char*str=”12123434”;int x1=0,x2=0,x下列程序的输出结果是( )。 #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’:x2++; ca

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

    [单选题]下列程序的输出结果是()。includevoid main(){char*Str;str="testI";cout<

  • 查看答案
  • 下列程序的输出结果是()。#include"stdio.h"main(){ st

    [单选题]下列程序的输出结果是( )。 #include "stdio.h" main() { struct st { int y,x,z;}; union {long i;int j; char k;} un; printf("%d,%d/n",sizeo(struct st),sizeof(un)); }A.6,2B.6,4C.8,4D.8,6

  • 查看答案
  • 以下程序的输出结果是______。main(){int a=3;printf("

    [单选题]以下程序的输出结果是______。 main() {int a=3; printf("%d/n",(a+=a-+a*a) ) }A.-6B.1C.2D.-12

  • 查看答案
  • 以下程序的输出结果是______。main(){chsr st[20]="bel