(Solved):Q: Write a program …

Question:

Question

Write a program to find largest element of an array using pointer to array by cpp

 

Expert Answer:

Step 1

Create the C++ program as follows:

  • Define the function largest() which takes an integer pointer and the size of the array as the parameters. Use for loop to traverse the

Leave a Comment