Discussion in 'C' started by en_7123, Mar 7, 2010.
What does this statement mean in c
sum = (sum >> 16) + (sum & 0xffff)
the above expression can be represented as:-
becoz, (sum >> 16) means the sum divided by 2 to the power 16.. (refer to the meaning of bitwise left shift and bitwise right shidt)
(sum & 0xffff) itself gives sum.
Separate names with a comma.