In your code, you are not allocating for last '\0' character for the strings. The line res_tab[i] = malloc(sizeof (char) * my_strlen(tmp->word)); ...
確定! 回上一頁