question about sizeof i want reverse bits in number

Posted by davit-datuashvili on Stack Overflow See other posts from Stack Overflow or by davit-datuashvili
Published on 2010-06-07T07:19:58Z Indexed on 2010/06/07 7:32 UTC
Read the original article Hit count: 127

Filed under:

can anybody explain me what will be equivalent of this in java?

for (i =(sizeof(num)*8-1); i; i--)  

num is given number not array i want reverse bits in integer

© Stack Overflow or respective owner

Related posts about algorithm