All pastes #822182 Raw Edit

Someone

public c v1 · immutable
·published 2007-12-18 16:07 UTC
rendered paste body
Logical shift-------------1 << 0  = 0001  =  11 << 1  = 0010  =  21 << 2  = 0100  =  41 << 3  = 1000  =  8Bitwise AND-----------x = 25;      /* 00011001 (16 + 8 + 1) */y = 1 << 4;   /* 00010000 (1 shifted left by 4 places = 16) */z = x & y    /* 00010000 */