Final answer:
To solve this problem, declare the array in the main() function and pass it to the showme() function. Use pointer notation to access and display the elements. Calculate the sum of the array using pointer notation.
Step-by-step explanation:
To solve this problem, first, declare an array named prices in the main() function and initialize it with the given numbers. Then, pass the prices array to a function called showme(). Inside the showme() function, use a for loop to access each element of the array and display it using the pointer notation: *(prices + i). To calculate the sum of the array, initialize a variable sum to 0 before the loop. Within the loop, use the pointer notation (*nPt++) to access each element and add it to the sum variable.