I need to make this program add the characters in source to the end of the string destination. the function assumes that there is enough room in destination to store the additional characters. I dont want to use srtcat().
Can anyone help me with this please.
Here is my program so far:
#include <stdio.h>
void join (char* destination, char* source) {
/* My code goes here. */
}
int main () {
char quick_fox [100] = "The quick brown fox";
char jumps_over [100] = " jumps over the lazy dog.";
printf("Joining \"%s\" to \"%s\"\n", quick_fox, jumps_over);
join(quick_fox, jumps_over);
printf("gives \"%s\"\n", quick_fox);
}