Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

concatenate char * c

#include <stdio.h>
#include <string.h>
int main()
{
    char destination[] = "Hello ";
    char source[] = "World!";
    strcat(destination,source);
    printf("Concatenated String: %s
", destination);
    return 0;
}
 
PREVIOUS NEXT
Tagged: #concatenate #char
ADD COMMENT
Topic
Name
9+4 =