Question: Write C++ main a function that contains the following: 1. Create an array L of 12 characters. (declare it as dynamic array (i.e., using
Write C++ main a function that contains the following: 1. Create an array L of 12 characters. (declare it as dynamic array (i.e., using a pointer)) 2. Declare three pointers to characters P1, P2, and P3. 3. Set P1 points to the array L 4. Read 12 characters and fill the array L (Do this operation using pointer P1) 5. Set P2 points to the element L[8]. 6. Create P3 and set the character value ('$') in it. Check the value pointed by P2 and the value pointed by P3. Then display on the screen "Match' if it is equal, "Not Match" if it is not equal.
Step by Step Solution
There are 3 Steps involved in it
Certainly Lets walk through the steps to create a C function to meet the requirements presented in y... View full answer
Get step-by-step solutions from verified subject matter experts
