c modify char array
snippet in c

c modify char array

user1440

char name_buf[5] = "Bob";
name_buf = "Alice";   // error
strcpy(name_buf, "Alice");