You are viewing a single comment's thread. Return to all comments →
for(int i=0;i<q;i++){ int x; cin>>x; cout<<a[x]<<endl; }
why is it saying subscripted value is not an array,vector or pointer...
Circular Array Rotation
You are viewing a single comment's thread. Return to all comments →
why is it saying subscripted value is not an array,vector or pointer...