A. Alternative to if-else अगर-अन्य के लिए वैकल्पिक
B. Immediate if तत्काल यदि
C. If-then-else statement अगर-तो-अन्य स्टेटमेंट
D. Switch statement स्विच स्टेटमेंट
Correct Answer is :
B. Immediate if
Explanation
A conditional expression can evaluate to either True or False based on the evaluation of the condition. If the condition is true then the value following the operator is taken that’s why it is called immediate if.
Syntax:
result = IIf(condition, expression_if_true, expression_if_false)