Char s[]="\113vwxyz\x41"; printf("%d\n",strlen(s)); 为什么结果是7
Char s[]="\113vwxyz\x41"; printf("%d\n",strlen(s)); 为什么结果是7
char s[]=" an apple" ; printf(" %d\n",strlen(s)); A)7 B)8 C)
main() { char s[]="stop\0\n\""; printf("%d\n",strlen(s)) }
C语言题目求解char[ ]="\t \chinese\ \girl\n" printf("%d",strlen(s))
下面程序的运行结果是: char c[]="\t\v\\\0will\n" printf("%d",strlen);
main() { char s[]="\\141\141abc\t" ; printf("%d",strlen(s));
设有定义:char s[12]={"string"};则printf("%d",strlen(s));的输出值是多少?
设char*1=“12345”,s2=“1234”;执行语句printf(“%d\n”,strlen(strcpy(s1
char *s1="12345",*s2="1234"; printf("%d\n",strlen(strcpy(s1,
有以下程序片段char str[]="ab\n\012\\\"";printf("%d",strlen(str));的输
#include; char *p="ABC" printf("%d",strlen(p)+*p);
main(){ char *s,*s1="Here";s=s1;while(*s1)s1++;printf("%d\n"