网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)

4、以下语句的输出结果是()。 printf ("%d\n", strlen("\t\"\065\xff\n"));

A.5

B.14

C.8

D.输出项不合法,无正常输出


参考答案和解析
B 解析:Mid(s$,i,n)表示从字符串s$的第i个字符开始向后截取n个字符,Len(s$)返回字符串s$的长度。
更多 “4、以下语句的输出结果是()。 printf ("%d\n", strlen("\t\"\065\xff\n"));A.5B.14C.8D.输出项不合法,无正常输出” 相关考题
考题 以下程序的输出结果是 【 10 】 。#include string.hmain( ){ printf("%d\n",strlen("IBM\n012\1\\"));}

考题 以下程序的输出结果是_____.# includemain(){ printf(“%d\n”,strlen(“IBM\n012\1\\”));}

考题 下面语句的输出结果是______。printf("%d\n",strlen("\t\"065\xff\n"));A.14B.8C.5D.输出项不合法,无正常输出

考题 以下程序的输出结果是 【7】 。#include "stdio.h"main(){int a=065;printf( "%d\n",--a);}

考题 有以下程序: #includestdio.h #includestrin9.h main( ) {printf{"%d\n",strlen("%d\n",strlen("ATS\n012\|"));} 程序运行后的输出结果是( )。A.3B.8C.4D.9

考题 下面语句的输出结果是______。 printf("/od\n",strlen("\t\"\065\xff\n"))A.14B.8C.5D.输出项不合法,无正常输出

考题 以下程序段的输出结果是 char s[]="\\141\141abc\t"; printf ("%d\n",strlen(s));A.9B.12C.13D.14

考题 以下程序的输出结果是()includeincludemain(){char str[12]={'s','t','r', 以下程序的输出结果是( ) #include<stdio.h> #include<string.h> main() {char str[12]={'s','t','r','i','n','g'}; printf("%d\n",strlen(str)); }A.6B.7C.11D.12

考题 下列语句的输出结果 cout < < strlen("\t\"\065\xff\n") ;A.5B.14C.8D.输出项不合法,无正常输出

考题 “printf("%d\n",strlen("\t\"\023\xAB\nC"));”语句的输出结果是( )。

考题 以下程序的输出结果是#include "stdio.h"main(){ int a=065; printf("%d\n",--a);}

考题 请选出以下语句的输出结果printf("%d\n",strlen("\t\"\065\xff\n"));A.5 B.14C.8 D.输出项不合法,无正常输出

考题 以下程序的输出结果是( )。 char str[15]=”hello!”; printf(“%d\n”,strlen(str)); A.15 以下程序的输出结果是( )。 char str[15]=”hello!”; printf(“%d\n”,strlen(str));A.15B.14C.7D.6

考题 若有以下定义和语句char s1[10]=”aBcd!”,*s2=”\n123\\”printF(“%d%d\n”,strlen(sl),strlen(s2));则输出结果是A.5 5B.10 5C.10 7D.5 8

考题 若有以下定义语句: char * sl="12345", * s2="1234"; printf("%d"n",strlen(strcpy(s1,s2))); 则输出结果是 ( )A.4B.5C.9D.10

考题 语句prinff(”%d\n”,strlen(”\t\”\、、n\"\065\08AB”));的输出结果是( )。A.6B.7C.8D.9

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

考题 下面语句的输出结果,是______。 printh("%d\n",strlen("\t\"\065\xff\n"));A.14B.8C.5D.输出项不合法,无正常输出

考题 以下程序片段的输出结果是______。 char str[]="abc\n\012\\\""; printf("%d",strlen(str));A.4B.5C.6D.7

考题 下面语句的输出结果是 ( ) pritnf("%d\n",strlen("\t\"\065"xff\n"));A.5B.14C.8D.输出项不合法,无法正常输出

考题 有以下程序:includestdio.hincludestrin9.hmain( ){printf{%d\n,strlen(%d\n,strlen(ATS\n012\|));}程序运行后的输出结果是( )。A.3B.8C.4D.9

考题 下面语句的输出结果是_______。 printf("%d\n",strlen("\t\"\065\xff\n"));A.14B.8C.5D.输出项不合怯,无正常输出

考题 请选出以下语句的输出结果 ( ) printf("%d\n,strlen("\t\"065\xff\n"));A.5B.14C.8D.输出项不合法,无正常输出

考题 语句"printf("%d\n"strlen("ats\nol2\1\\"));"的输出结果是( )A.11B.10C.9D.8

考题 以下程序的输出结果是()  #include      #include      main( )  {char str[12]={‘8’,‘t’,‘r’,‘i’, ‘n’,‘g’,‘、0’,‘a’};      printf(“%d/n”,strlen(str));} A、6B、7C、8D、12

考题 以下程序段的输出结果是()。    Char s[]I=”/1238/080abc”;    printf(”%d/n”,strlen(s));

考题 语句printf((“%d/n“,strlen(“ats/no12/1//“));的输出结果是()。A、11B、10C、9D、8

考题 单选题以下语句的输出结果是(  )。printf(%d,strlen(\t\\065\xff));A 5B 8C 14D 输出项不合法,无正常输出