1. Write a program to populate a 10-element array with a mix of even and odd integers. Using a bitwise operator, print the even integers found in the array.
2. Write a program to check whether the least signifi cant bit (LSB) of an integer is set.
3. Write a program that sets the bits 0, 1 and 3 of the integer 20. Save the result and then clear the same bits from the result.
4. Write a program to determine whether the nth bit of an integer is set, where n is obtained from the user.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here