in Compiler Design edited by
2,913 views
4 votes
4 votes

The expression $1 * 2 \wedge 3 * 4 \wedge 5 * 6$ will be evaluated as

  1. $32^{30}$
  2. $162^{30}$
  3. 49152
  4. 173458

In original quetion 5 is not given.

in Compiler Design edited by
2.9k views

1 comment

Ans is (c)?
0
0

3 Answers

4 votes
4 votes
Best answer

power has a higher priority than the multiplication

1*2^3*4^5*6  

= 1 * (2^3) * (4^5 ) * 6

=1 * 8 * 1024 * 6

=49152

selected by
2 votes
2 votes

Answer C)

First solve ^ and then *

by

1 comment

how do we know in exam wheather ^ is bitwise or not  plz dont say check the option by taking ^ bitwise bcz in exam it some more hectic
0
0
0 votes
0 votes

first we have to solve higher precedence first  ^then *

1*2^3*4^5*6

1*(2^3)*(4^5)*6=

1*8*1024*6=49152