The expression 1 * 2 ^ 3 * 4 ^ 5 * 6 will be evaluated as
- A. 32^30
- B. 162^30
- C. 49152
- D. 173458
Answer: C. 49152
Explanation: Precedence: ^ > *. 2^3 = 8. 4^5 = 1024. Expression: 1 * 8 * 1024 * 6 = 49152.
All ISRO Computer Science (CSE) papers | ISRO Computer Science (CSE) 2009
The expression 1 * 2 ^ 3 * 4 ^ 5 * 6 will be evaluated as
Answer: C. 49152
Explanation: Precedence: ^ > *. 2^3 = 8. 4^5 = 1024. Expression: 1 * 8 * 1024 * 6 = 49152.
Previous question | Next question | All questions of ISRO Computer Science (CSE) 2009