Answers for "concatenate char * c"

C
1

concatenate char * c

#include <stdio.h>
#include <string.h>
int main()
{
    char destination[] = "Hello ";
    char source[] = "World!";
    strcat(destination,source);
    printf("Concatenated String: %s\n", destination);
    return 0;
}
Posted by: Guest on April-02-2022

Code answers related to "C"

Browse Popular Code Answers by Language