Distinguish between conditional operator and conditional statement.
Answers
Answered by
1
Answer:
The difference is the ternary operator is an expression where as an if-then-else is a statement. The basic difference is an expression returns a value and a statement doesn't so the ternary operator can be used in places that an if statement can't.
Answered by
1
Answer:
fhchgggcdsacbjhggfgvbjji
Similar questions
Science,
1 month ago
Math,
1 month ago
Math,
2 months ago
India Languages,
2 months ago
English,
9 months ago