Expressions – True / False Questions

1. Associativity has no role to play unless the precedence of the operator is the same.

A. True
B. False

Correct Answer: A. True

2. The expression of the right-hand side of || operators doesn’t get evaluated if the left-hand side determines the outcome.

A. True
B. False

Correct Answer: A. True

3. In the expression a=b=5 the order of Assignment is NOT decided by the Associativity of operators

A. True
B. False

Correct Answer: B. False

4. Associativity of an operator is either Left to Right or Right to Left.

A. True
B. False

Correct Answer: B. False

Leave A Comment?

seven − 4 =