Is there any general technique?

Is there any general technique or particular approach for solving bit-manipulation questions based on subarrays or subsets ?