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

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

1 Expert Approved Answer
Step: 1 Unlock

include iostream include cstring char reverseStringconst char str int length strlenstr c... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!