i have to write a c code that it divides a number by a power of 2 by shifting
the number to the right the requisite number of bits.
im not asking for ANY CODE. im just asking for an explanation for the given.
how do we divide by shifting to the right ? can you please give me an example with an explanation?
thanks