c char array modify elements 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");