Check if number is a power of 4

Give a method to find whether an integer is a power of 4 or not.

Turn off the rightmost bit of an integer

How will you turn off the rightmost bit in the binary representation of an unsigned int number.

Compute Max and Min without branching

Given 2 unsigned integers, write expressions to find the maximum and minimum of these 2 integers without using either if-else or conditional operator.