The one in the last place
What is the operator overlading function doing here?
hello @vipulch
we are overloading [ ] operator, so that when we do
vectorname[i] , it gives us the value present at index i
The one in the last place
hello @vipulch
we are overloading [ ] operator, so that when we do
vectorname[i] , it gives us the value present at index i