Passing by reference of set

in void permute we accepting the address of the set s which is being passed from main.
so we should store it in a pointer variable?
But instead we are writing set &s.
Why?

hello @pranaynigam

please read about reference variables in c++.
its differnt from pointer

please give me a link to read

pls check this ->link

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.