Attempt to write a 12-byte string into a 5-character array. char mystr[5]; ... len = strlen(str); // len is 11 d_str = malloc(sizeof(char) * (len+1)); if ...
確定! 回上一頁