addOrSub method

int addOrSub(
  1. int a,
  2. int b
)

Implementation

int addOrSub(int a, int b) {
  return a ^ b;
}