Sail E0 Webinar
Question

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


Options:
A .  True
B .  False
Answer: Option B

The equal to = operator has Right-to-Left Associativity. So it assigns b=5 then a=b.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers