Report Bug

QusThe expression 2**2**3 is evaluates as: (2**2)**3. Qusएक्सप्रेशन 2 ** 2 ** 3 के रूप में मूल्यांकन किया जाता है: (2 ** 2) ** 3।


A. TRUE
B. FALSE


Solution
B. FALSE



Explanation
The value of the expression (2**2)**3 = 4**3 = 64. When the expression 2**2**3 is evaluated in python, we get the result as 256, because this expression is evaluated as 2**(2**3). This is because the associativity of exponentiation operator (**) is from right to left and not from left to right.
CCC Online Test 2021 CCC Practice Test Hindi Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Naukari Notification Best Website and Software Company in Allahabad Sarkari Exam Quiz