Use of & -> vector

if we use & while accepting the formal parameters then it will always pass the address right? (irrespective of type of vector)

like if we can use [] or * for passing address of array…do we have an alternative to & in passing a vector ?

hello @prerak_semwal

do u know about reference variable in c++?

@aman212yadav

you mean pass by reference ?

somewhat it is related, i am asking about reference variable in c++

@aman212yadav

I don’t think so…
I checked my pointers note…I didn’t found anything called reference variable

pls read about it…

@aman212yadav

this link is correct ?

yeah its correct…

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.