Репост из: Algo Expert
Which of the following expressions always correctly checks if the number N is even?
Qo'yidagi qaysi ifoda sonni juftligini doimo to'gri tekshiradi
Опрос
- N & 1 == 0
- N % 2 == 0
- N | 1 == 0
- (N>>1)