Write a function to flip a binary value (0 to 1, or 1 to 0) without using !, ^, or ~ ?
Login to Submit
Input: 0 Output: 1 Input: 0 Output: 1 Input: 1 Output: 0