return statement in ternary operator c++ August 26, 2023 by Tarik The second and third arguments to the ternary operator are expressions, not statements. return a is a statement