I don't understand this while condtition in C

后端 未结 0 755
名媛妹妹
名媛妹妹 2021-01-06 03:17

The task is to reproduce the behavior of the function strcpy in C. I found this code:

char    *ft_strcpy(char *s1, char *s2)
{
int i;

i = 0;
while (s2[i])
{
         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题