Question: 5- Write a C++ program (a Main function) to merge two dynamic array of characters. The user should enter the array of characters as

5- Write a C++ program (a Main function) to merge two dynamic array of characters. The user should enter the array of characters as one string. Then, the program should generate the reverse of it and print it. Example: The first input should be: LiveisShort The second input should be: Liveitfromtheheart Expected Output : LiveisShort Liveitfromtheheart
Step by Step Solution
3.43 Rating (175 Votes )
There are 3 Steps involved in it
include iostream include cstring char reverseStringconst char str int length strlenstr c... View full answer
Get step-by-step solutions from verified subject matter experts
