Question: what are ternary operator c++?
Answer: The ternary operator allows you to execute different code depending on the value of a condition, and the result of the expression is the result of the executed code. ...