📜  创建 arrya of chars mallo - C 编程语言代码示例
📅  最后修改于: 2022-03-11 15:04:39.880000             🧑  作者: Mango
代码示例1
#include
char *str = malloc(lenOfWord + 1);
//We dont need to multiply the size by sizeof(char) because it is equal to 1