posted 15 years ago
hi
i am trying to convert int to byte.
300
in binary : 0000 0000 0000 0000 0000 0001 0010 1100
after truncating HO bytes 0010 1100
inverting 1101 0011
adding one 1101 0100
manually doing i am getting this as output. but the complier is showing 44 .may i know why ? am i wrong in any step ?please help
thanks
Anto Telvin Mathew<br />Many of the life failures are people who did not realize how close they were to success when they give up. EDISON