Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

c add char to char array

char str[1024] = "Hello World";
char tmp[2] = "."; 		//Has to be of size 2 because strcat expects a NULL terminated string

strcat(str, tmp);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #add #char #char #array
ADD COMMENT
Topic
Name
3+6 =