Bitmasking problem

how to set all bits in a range i to j
can you please send the code for this

@mohitshendre2609 here is the code-


hope you doubt is resolved :smiley: