已知:char a[20]= abc b[20]= defghi;则执行下列语句后的输出结果为() printf(\%d strlen(s
已帮助 人
已知:char a[20]= "abc",b[20]= "defghi";则执行下列语句后的输出结果为() printf("%d",strlen(strcpy(a,b)));
A.11
B.6
C.5
D.以上答案都不正确
![已知:char a[20]= abc b[20]= defghi;则执行下列语句后的输出结果为() printf(\%d strlen(s](/uploads/allimg/6-2827457Q9.jpg)
热搜:修辞手法例句20句
回答
共1条回复-
C strcpy(a,b)函数的功能是把b串复制到a字符数组中,因b串的长度为6,所以a串的长度也有6。
