c assign char to char array 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");