Question: how do i write this code in C++ in an easy wa y???? plz help(in this formate/dark picture) Problem 7: (5 pts): Write a function
how do i write this code in C++ in an easy wa
y???? plz help(in this formate/dark picture)
Problem 7: (5 pts): Write a function that takes as an input parameter an array of characters (not a string - these two things are subtly different in C++) and a parameter for the length of the character array. It should then print out each character in the character array. It should then reverse the character array IN PLACE (meaning you should not create another character array, nor should you create a string out of the array. You should then print out the reversed array. Input: ['e','t','y','b'], 4 ->etyb byte Input: ['t', 'a','b','m','u','n'],6 -> tabmun numbat Input: ['1','1','',''),4-> live evil #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
