E
eeh
Hi,
Could anyone give me sample code to calculate 2's complement of an
integer which is n (n<16) bits length?
Thanks!
Could anyone give me sample code to calculate 2's complement of an
integer which is n (n<16) bits length?
Thanks!
Could anyone give me sample code to calculate 2's complement of an
integer which is n (n<16) bits length?
eeh said:Hi,
Could anyone give me sample code to calculate 2's complement of an
integer which is n (n<16) bits length?
Thanks!
Lucy said:int a = 5;
int b = ~a;
Lucy said:int a = 5;
int b = ~a;
Lucy said:int a = 5;
int b = ~a;