#include using namespace std; int main(){ int n,k; cout<<"Enter size of array=\t"; cin>>n; cout<<"Enter Number of indices u want to rotate the array to right=\t"; cin>>k; int a[n]; cout<<"Enter elements of array=\t"; for(int i=0;i>a[i]; int temp=0; for(int i=0;i=0;j--){ if(j==0){ a[j]=temp; } else{ a[j]=a[j-1];} } } cout<<"Your rotated array is=\t"; for(int i=0;i