August 17th, 2012, 9:41 pm
Does all odd numbers up to 100 actually.0x00000001 -> binary 1& -> bitwise AND operatori & 0x00000001 converts the binary representation of i to zero excluding the last bit.E.g.1 0000000000000001 0000000000000001 true2 0000000000000010 0000000000000000 false3 0000000000000011 0000000000000001 true4 0000000000000100 0000000000000000 false
Last edited by
Hansi on August 16th, 2012, 10:00 pm, edited 1 time in total.