5
8
14
输出项不合法,无正常输出
第1题:
下面语句的输出结果是______。 printf("/od\n",strlen("\t\"\065\xff\n"))
A.14
B.8
C.5
D.输出项不合法,无正常输出
第2题:
以下程序段的输出结果是 char s[]="\\141\141abc\t"; printf ("%d\n",strlen(s));
A.9
B.12
C.13
D.14
第3题:
下列语句的输出结果 cout < < strlen("\t\"\065\xff\n") ;
A.5
B.14
C.8
D.输出项不合法,无正常输出
第4题:
以下程序的输出结果是#include "stdio.h"main(){ int a=065; printf("%d\n",--a);}
第5题:
有以下程序
#include <stdio.h>
#include <string.h>
main( )
{ printf("%d\n",strlen ("ATS\n012\1") ); }
程序运行后的输出结果是
A)3
B)8
C)4
D)9
第6题:
语句prinff(”%d\n”,strlen(”\t\”\、、n\"\065\08AB”));的输出结果是( )。
A.6
B.7
C.8
D.9
第7题:
下面语句的输出结果,是______。 printh("%d\n",strlen("\t\"\065\xff\n"));
A.14
B.8
C.5
D.输出项不合法,无正常输出
第8题:
下面语句的输出结果是_______。 printf("%d\n",strlen("\t\"\065\xff\n"));
A.14
B.8
C.5
D.输出项不合怯,无正常输出
第9题:
语句"printf("%d\n"strlen("ats\nol2\1\\"));"的输出结果是( )
A.11
B.10
C.9
D.8
第10题:
以下程序段的输出结果是()。 Char s[]I=”/1238/080abc”; printf(”%d/n”,strlen(s));
第11题:
语句:printf(“%d、n”,12&012);的输出结果是()
第12题:
55
105
107
58
第13题:
以下程序的输出结果是______。 main() { char st[20]="hello\0\t\\"; printf("%d%d\n",strlen(st),sizeof(st)); }
A.99
B.520
C.1320
D.2020
第14题:
以下程序的输出结果是( ) #include<stdio.h> #include<string.h> main() {char str[12]={'s','t','r','i','n','g'}; printf("%d\n",strlen(str)); }
A.6
B.7
C.11
D.12
第15题:
“printf("%d\n",strlen("\t\"\023\xAB\nC"));”语句的输出结果是( )。
第16题:
请选出以下语句的输出结果printf("%d\n",strlen("\t\"\065\xff\n"));A.5 B.14C.8 D.输出项不合法,无正常输出
第17题:
以下程序的输出结果是( )。 char str[15]=”hello!”; printf(“%d\n”,strlen(str));
A.15
B.14
C.7
D.6
第18题:
以下程序的输出结果是______。 main() { char str[12]={'s','t','r','i','n','g'}; printf("%d\n",strlen(str)); }
A.6
B.7
C.11
D.12
第19题:
下面语句的输出结果是 ( ) pritnf("%d\n",strlen("\t\"\065"xff\n"));
A.5
B.14
C.8
D.输出项不合法,无法正常输出
第20题:
请选出以下语句的输出结果 ( ) printf("%d\n,strlen("\t\"065\xff\n"));
A.5
B.14
C.8
D.输出项不合法,无正常输出
第21题:
( 31 )若有以下定义和语句
char s1[10]= " abcd! " ,*s2= " \n123\\ ";
printf ( " %d %d\n ", strlen ( s1 ) ,strlen ( s2 ) ) ;
则输出结果是
A ) 5 5
B ) 10 5
C ) 10 7
D ) 5 8
第22题:
以下程序段运行后屏幕输出为() chara[]="abc/0mis"; printf("%d",strlen(a));
第23题:
语句printf((“%d/n“,strlen(“ats/no12/1//“));的输出结果是()。