/* C++ Program - Insert Element in Array */ #include using namespace std; int main() { int arr[50], size, insert, i, pos; cout<<"Enter Array Size: "; cin>>size; cout<<"Enter array elements : "; for (i=0; i>arr[i]; } cout<<"Enter element to be insert : "; cin>>insert; cout<<"At which position? "; cin>>pos; //now create a space at the required position for (i=size; i>=pos; i--) { arr[i]=arr[i-1]; } arr[pos-1]=insert; cout<<"Element inserted successfully..!!\n"; cout<<"Now the new array is : \n"; for(i=0; i