Discussion Forum : Bitwise And Boolean
Question - What is the value of the following expression:24//6%3, 24//4//2
Options:
A .  (1,3)
B .  (0,3)
C .  (1,0)
D .  (3,1)
Answer: Option A


The expressions are evaluated as: 4%3 and 6//2 respectively. This results in the answer (1,3). This is because the associativity of both of the expressions shown above is left to right.



Was this answer helpful ?
Submit Your Solution hear:

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