What is the use of conditional operator statement?
Answers
Answered by
1
Explanation:
Conditional operators are used to evaluate a condition that's applied to one or two boolean expressions. The result of the evaluation is either true or false.
Answered by
0
A conditional operator is a single programming statement, while the 'if-else' statement is a programming block in which statements come under the parenthesis. A conditional operator can also be used for assigning a value to the variable, whereas the 'if-else' statement cannot be used for the assignment purpose.
Similar questions
English,
5 months ago
English,
5 months ago
Social Sciences,
10 months ago
Social Sciences,
1 year ago