In video, void clear_bit(int &n,int i) this is how function is defined but in case of invoking in main function we are using clear_bit(n ,i) how if we passing address of n during function defination then why we are not not using & n
Problem related to reference
Hey @vikash3303
Int &x is a reference variable.
We dont pass address in invokimg calls
int y=10;
int &x=y;
This is how it looks like without function
This gives y an alias x(example we have 2 names : official and nickname)
So any change to x or y will change the same thing.