The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
0 votes
35 views

in Compiler Design by Active (4.9k points) | 35 views

1 Answer

0 votes
Best answer
As per the question, all the operators are left associative.

Now evaluating 3-2*4^2^3

As per order of precedence, we can put the paranthesis as : {(3-2)*4}^2^3

=> [{(1*4)^2}^3]

=> (4^2)^3

=> 16^3

=> 4096
by Loyal (7.1k points)
selected by

Related questions

0 votes
1 answer
1
asked Oct 24, 2018 in Compiler Design by Balaji Jegan Active (4.9k points) | 48 views
0 votes
1 answer
2
asked Oct 24, 2018 in Compiler Design by Balaji Jegan Active (4.9k points) | 29 views
0 votes
0 answers
3
asked Oct 24, 2018 in Compiler Design by Balaji Jegan Active (4.9k points) | 18 views
0 votes
1 answer
4
asked Oct 24, 2018 in Compiler Design by Balaji Jegan Active (4.9k points) | 24 views
0 votes
1 answer
5
asked Oct 24, 2018 in Compiler Design by Balaji Jegan Active (4.9k points) | 27 views
0 votes
0 answers
6
asked Oct 24, 2018 in CO and Architecture by Balaji Jegan Active (4.9k points) | 13 views
0 votes
0 answers
7
asked Oct 24, 2018 in CO and Architecture by Balaji Jegan Active (4.9k points) | 15 views
Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
50,362 questions
55,791 answers
192,415 comments
90,938 users