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...
Seems like cookies are disabled on this browser, please enable them to open this website
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...