Implement the algorithm in C++.
Algorithm: concatenate(s1, s2)
1. Initialize i =strlen(s1)
2. Initialize j =strlen(s2)
3. Initialize count=0;
/ * This segment copies characters of s2 into array s1 * /
4. Repeat steps 5 to 7 while count <>
5. s1[i] =s2[count]
6. i = i +1
7. count = count +1
8. Exit
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here