optionToTrue function

int optionToTrue(
  1. int selectedOptions,
  2. int newOption
)

Implementation

int optionToTrue(int selectedOptions, int newOption) {
  return selectedOptions | newOption;
}