I now allocate memory for malbuf malbuf = (char*)malloc(30); I write a string into malbuf which is of length 29 bytes (so leaving room for the NULL ...
確定! 回上一頁