Question: Write a program which performs the following tasks:
Part i. initialize an integer array of 10 elements in main( )
Part ii. pass the entire array to a function modify( )
Part iii. in modify( )multiply each element of array by 3
Part iv. return the control to main( )and print the new array elements in main( )
Answer these parts in details and give examples to support your rationale.