下列程序的输出结果是( )。 #include<stdio.h> main() { char a[]= {'a','b','c','d','e','f,'/0'}; int i,j; i=sizeof(a); j=strlen(a); printf("%d,%d",i,j); }
A.7,7
B.7,6
C.6,6
D.6,7
[单选题]下列程序的输出结果是()。 include main() {char a[]={'a','b','c','d','e','f','/0'};下列程序的输出结果是( )。#include<stdio.h>main(){ char a[]={'a','b','c','d','e','f','/0'};int i,j;i=sizeof(A) ;j=strlen(A) ;printf("%d,%d",i,j);}A.7,7B.7,6C.6,6D
[单选题]下列程序执行的输出结果是()。 inClude main() {char a[2][4]; strcpy(a,"are");strcpy下列程序执行的输出结果是( )。#inClude<stdio.h>main(){ char a[2][4];strcpy(a,"are");strcpy(a[1],"you");a[0][3]='&';printf("%s/n",A) ;}A.are&youB.youC.areD.&
[单选题]下列程序执行的输出结果是( )。 include main() {char a[2][4];strcpy(a,"are");strcpy下列程序执行的输出结果是( )。 #include<stdio.h> main() { char a[2][4]; strcpy(a,"are");strcpy(a[1],"you"); a[0][3]='&'; printf("%s/n",a); }A.are&youB.youC.areD.&
[单选题]下列程序执行的输出结果是()。 include main() {char a[2][4];strcpy(a,"are");strcpy(下列程序执行的输出结果是( )。 #include<stdio.h> main() { char a[2][4]; strcpy(a,"are");strcpy(a [1],"you"); a[0][3]='&'; printf("%s/n",a); }A.are&youB.youC.areD.&
[单选题]下列程序的输出结果是()。 include include main() {char a[]="/n123//"; p下列程序的输出结果是( )。#include<stdio.h>#include<string.h>main(){ char a[]="/n123//";printf("%d,%d/n",strlen(A) ,sizeof(A) );}A.5,6B.5,5C.6,6D.6,5
[单选题]下列程序的输出结果是()。 include include main() {char a[]="/n123//";pr下列程序的输出结果是( )。 #include<stdio.h> #include<string.h> main() { char a[]="/n123//"; printf ("%d,%d/n",strlen(a),sizeof(a)); }A.5,6B.5,5C.6,6D.6,5
[单选题]下列程序的输出结果是______。 include main ( ) {int a,b,c=246; a=c£¯100%9; b=(£1)下列程序的输出结果是______。 #include <stdio. h> main ( ) { int a,b,c=246; a=c/100%9; b=(-1)&&(-1); printf ("%d, %d/n", a,b); }A.2,1B.3,2C.4,3D.2,-1
[单选题]下列程序的输出结果为 include void main( ) { char * a[ ] ={"hello},"the"," wo下列程序的输出结果为#include<iostream.h>void main( ){char * a[ ] ={"hello},"the"," world"};char * * pa=a;pa++;cout < < * pa < < endl;}A.helloB.theC.worldD.hellotheworld
[单选题]下列程序的输出结果是( )。 point(char*pt); main() { char b[4]{'a','c','s','f'},*pt=b; pt=point(pt); printf("%c/n",*pt); } point(char*p) { p+=3; return p; }A.sB.cC.fD.a
[单选题]下列程序的输出结果是( )。point(char*pt);main(){ char b[4]={'a', 'c' ,'s' ,'f'},*pt=b; pt=point(pt); printf('%c/n",*pt);}point(char*p){ p+=3; return p;}A.sB.cC.fD.a