Bit-masking webinar

Sir, why we are referring the number in the set-bit and clearing bit function?

hey Ashish, call by reference is used here because here we want to set or clear the ith bit and after doing so number will be changed.
As we want keep the changes call by reference is used with number.