📜  c修改char数组——C编程语言代码示例

📅  最后修改于: 2022-03-11 15:04:39.835000             🧑  作者: Mango

代码示例1
char name_buf[5] = "Bob";
name_buf = "Alice";   // error
strcpy(name_buf, "Alice");