• + 0 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...