Ternary Operator

  • Ternary Operator

Ternary Operator

Ternary Operator is same as the conditional operator which has the condition and two expression to choose from when the consition matches.

To Know more about ternary opertor with its syntax and example head to Conditional Operator