Homework Questions? Ask a Tutor for Answers ASAP
RRJha: New C++ question: Write a function to output an entire array that conforms with the following prototype: void printEntries(int *pstart, int *pEnd);
Where: pStart – is a pointer to the first element of the array.
Pend – is a pointer to the last element of the array.
Your implementation of this function should NOT:
• Use any local variables
• Use array subscript notation to print the array (i.e. do not use the form pStart)
Call this function using the sizeof() operator to determine pEnd on two different arrays:
• 10 integer array
• 15 integer array