Firstly I am new to C++ so may be the question is stupid !! Secondly I have already seen the related answers to this and can conclude that name of a vector could be treated as an array.
vector <int> myVector(7,10); // creates a vector of size 7 and initializes with 10
We may use the name myVector as an array and write like myVector[0], myVector[1]...
But since vector is a class and myVector is it's object there should be storage area inside that object which could be treated as an array like myVector.someArray[0], myVector.someArray[1] not the object name itself how does that become possible?