Saved Bookmarks
| 1. |
Difference between conditionaloperator and if else statement |
|
Answer» ong>Answer: 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 |
|