lets say I have some binary number of size 2^n for example:
11110101
how can I find position of any zero in this ? (i want to fill a hole in data for example)
So my program would return in this case 4
or 6
EDIT: I do not need most significant byte, I want whatever byte is set to 0 , doesn't matter if it is first of las!