Below code is for Binary Representation of a Number.
This code works fine.....but i don't know why
if((x&(0x80000000))>0) should be <0 instead of >0
because if first bit of x is 1, number generated would be -2147483748 which is less than 0 but still this code works....
Please Help