Bit Magic

Report a typo

Given that you've assigned the following values to different permissions:

  • Read permission = 1
  • Write permission = 2
  • Execute permission = 4
  • Delete permission = 8

Which of the following combinations includes the Write permission (2)?

NOTE: you can use bitwise operation & to check existence of a permission from groups of permissions .

Select one option from the list
___

Create a free account to access the full topic