关于C语言中for语句与指针问题的几个简单的问题。for(i=0;*(s1+i);i++)

2025-03-25 00:55:25
推荐回答(1个)
回答1:

你的
for(i=0;*(s1+i);i++)
等于:
for(i=0; s1[i]; i++)