Question: done in c++ and must include source and header files. 1.Dynamically create an array of 10 strings, fill the array with values read from the
done in c++ and must include source and header files.
1.Dynamically create an array of 10 strings, fill the array with values read from the console, and output the values in reverse order. As input, use the following sequence of words dog, cat, horse, mouse, chicken, monkey, hawk, cow, sheep, pig. You should not use the subscript operator to do this exercise.
2.To contrast this program with one using static array allocation, do the same thing, but this time simply create the array as string arr[10]. See how the two programs are different. Again, you should not use the subscript operator to do this exercise.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
