+ 2

3**2**4

what is the output of this code , and how this works.

2nd Jan 2020, 1:15 PM
Chinnmay B S
Chinnmay B S - avatar
3 Antworten
+ 4
Hi. It works from right to left. 3**2**4 = 3**16 = 43046721.
2nd Jan 2020, 1:19 PM
Dmytro Novak
Dmytro Novak - avatar
+ 2
** is an exponentiation operator. It is like 3 to the power 2 to the power 4. So 2 to the power 4 is 16 and then calculate 3 to the power 16 which is your answer.
2nd Jan 2020, 1:19 PM
Avinesh
Avinesh - avatar
- 3
2^4 *3^16 = is the answer
3rd Jan 2020, 4:04 AM
sreekumari