Answers for "how to do string concatenation in c"

C
32

c concatenate strings

char str[80];
strcpy(str, "these ");
strcat(str, "strings ");
strcat(str, "are ");
strcat(str, "concatenated.");
Posted by: Guest on March-22-2020
1

objective c strings concatenate

- (NSString *)strCat: (NSString *)one: (NSString *)two
{
    NSString *myString;
    myString = [NSString stringWithFormat:@"%@%@", one , two];
    return myString;
}
Posted by: Guest on December-04-2020

Code answers related to "how to do string concatenation in c"

Code answers related to "C"

Browse Popular Code Answers by Language