c ternry operator code example
Example 1: c ternary operator
condition ? value_if_true : value_if_false
Example 2: ternary operator in c
c = (a < b) ? a : b;
condition ? value_if_true : value_if_false
c = (a < b) ? a : b;