下面代码的输出结果是() s = "The python language is a cross platform language." print(s.find('language',30))
A.11
B.40
C.10
D.系统报错
A.11
B.40
C.10
D.系统报错
A.<class'complex'>
B. <class 'int'>
C. <class'float'>
D. <class 'bool'>
A.torch,soap,bath
B.torch soap bath,
C.torch,soap,bath,
D.torch soap bath
A.1,2,
B.1,2,3,4,5,
C.1,2,3,4,
D.1,2,3,
下面程序的输出结果是______。
longfun5(int n)
{long s;
if((n==1)||(n==2))
s=2;
else
s=n+fun5(n-1);
return(s);}
main()
{long x;
x=fun5(4);
printf("%ld\n",x);}
下面程序的输出结果是______。
#include"stdio.h"
main()
(cbar b[]="ABCD";
char*chp;
for(chp=b;*chp;chp+=2)
printf("%s\t",chp);
printf("\n");
}
执行下面程序后,输出结果是【 】。 main() { char s[12]="very good!"; printf("%d",strlen(s)); }
下面程序的输出结果是【 】。 char b[]="ABCD"; main() { char *p=b; for(;*p;p++) printf("%s",p); printf("\n"); }
下面程序的输出结果是()。 include <stdi0.h> include<string.h> main() {char*pl=“abc”,str[50]=“xyz”; strcpy(Str+2,p1); printf(“%S\n”,Str); }
A.xyzabcABC
B.zabcABC
C.xyabc
D.yzabcABC
下面程序的输出结果是【 】。 char b[]="ABCD"; main() { char b[30]; strcpy(&b[0],"GH"); strcpy(&b[1],"GH”); strcpy(&b[2],"GH"); printf("%s\n",B) ; }