I need some help with this question
Complete the missing parts of this program. The inserted comments will help you in specifying the functionality of this program: #include<iostream > using namespace std; void exchange(int *a, int index1, int index2) { //This function swaps the two elements (specified by the parameters index1 //and index2) of the passed array (a). // Note: Do not use array notation ([]). You can only use pointer notations. } void printElements (int *a,int size) { // This function prints the array elements in one line separated by 3 spaces. // Note: Do not use array notation ([]). You can only use pointer notations. } void reverseElements(int *a,int size) { // This function stores the array elements in reverse order. // Note: Do not use array notation ([]). You can only use pointer notations. } void main() { int a[5] = {10,20,30,40}; exchange(a,2,3); printElements(a,5); reverseElements(a,5); printElements(a,5); }