Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

c modify char array

char name_buf[5] = "Bob";
name_buf = "Alice";   // error
strcpy(name_buf, "Alice"); 
 
PREVIOUS NEXT
Tagged: #modify #char #array
ADD COMMENT
Topic
Name
3+8 =