What does b/a?a:b mean? Where a and b are integers.
That is called a ternary operator. If b/a is greater than 0 than it will assign the value of "a" to the variable or if b/a is 0 then it will assign the value of "b" to the variable. It is a simple if else statement.
This is not bit operation. It is ternary operator syntax with (IF Condition is true) ? (Do this) : (Else Do this);