Answer: Conditional operator are the ternary operator that work during a particular condition in which they returns a value as a result.This mechanism of the conditional operator helps in the making of the decision. The advantages of the conditional operator are as follows:-
- It has faster execution
- It can operate in many conditions even where the if-else condition is not executable
- Compact in nature
- Readable