I am supposed to create two arrays of char called input1 and input2 that can hold 1000 characters each and one array of char called input that can hold 2000 characters. Use the gets function to read in two different sentences from the user and store it in the variable input1 and input2. Join input1 and input2 and place the result in the input variable.
here is my code
main() {
char input;
get(input1);
get(input2);
input = input1 + input2;
}
char a(string result){
char input1[1000][1000];
printf("please enter the something\n");
scanf("%s", input1);
return input1;
}
char b(string result){
char input2[1000][1000];
printf("please enter the something\n");
scanf("%s", input2);
return input2;
}