Physics, asked by Patrish7047, 10 months ago

What is conditional operator?

Answers

Answered by anshpreet33
8

The conditional operator (? :) is a ternary operator (it takes three operands). Theconditional operator works as follows: The first operand is implicitly converted to bool. It is evaluated and all side effects are completed before continuing. If the first operand evaluates to true (1), the second operand is evaluated

Similar questions