How do you concatenate strings in C? [duplicate]
Possible Duplicate: How to concatenate 2 strings in C? #include <stdio.h> #include <string.h> /* Function prototypes */ void wordLength ( char *word ); void wordConcat ( char *wordC1, char *wordC2); int main (void) { int choice; char word [20]; char wordC1 [20]; char wordC2 [20]; printf( "Choose a function by entering the corresponding number: \n" "1) Determine if words are identical\n" "2) Count number of words in sentence provided\n" "3) Enter two strings to be strung together\n" "4) Quit program\n" ); scanf( "%d", &choice ); flushall(); while (choice >= 1 && choice < 4) { /* if statements