change char array in void in C code example
Example: c modify char array
char name_buf[5] = "Bob";
name_buf = "Alice"; // error
strcpy(name_buf, "Alice");
char name_buf[5] = "Bob";
name_buf = "Alice"; // error
strcpy(name_buf, "Alice");