nd print sum don’t use array indices like [ ]. And then print the same array contents and their addresses in
Write a c++ program that take an array of size 10 and insert values of your choice. Add/insert all the element of array using a single pointer / array name and print sum don’t use array indices like [ ]. And then print the same array contents and their addresses in the reverse order using same pointer. Your program will also find the largest of array. Write separate functions for input, reverse and finding largest. Pass array as parameter in all the functions.
Note:
Sample output of the program should be like this:
Sum of elements of array are:___________
Reversed values of the array are:
Value of element 10 is: _____________ and address is:____________
…….
Value of element1 is: ______________ and address is:____________
Largest Element of array is:__________ and at index:_____________
Step by step
Solved in 2 steps