有以下函数: int aaa(char *s) char *t=s: whil
题型:单项选择题
问题:
有以下函数:
int aaa(char *s)
char *t=s:
while(*t++):
t--;
return(t-s);
以下关于aaa函数的功能的叙述正确的是()。
A.求字符串s的长度
B.比较两个串的大小
C.将串s复制到串t
D.求字符串s所占字节数
有以下函数:
int aaa(char *s)
char *t=s:
while(*t++):
t--;
return(t-s);
以下关于aaa函数的功能的叙述正确的是()。
A.求字符串s的长度
B.比较两个串的大小
C.将串s复制到串t
D.求字符串s所占字节数