8,263 views
0 votes
0 votes
Consider the following source code :
c = a + b
d = c
c = c – e
a = d – e
b = b * e
b = d/b

(A) No optimization is possible
(B) d = c
     c = c – e
     a = d – e
     b = b * e
     b = d/b
(C) c = a + b
      d = c
      c = c – e
      a = d – e
      b = d/b
(D) c = a + b
      t = b * e
      a = d – e
      b = d/t
      c = a

1 Answer

Related questions

0 votes
0 votes
0 answers
1
Shobhit Joshi asked Jan 1, 2019
374 views
Consider the statementdo {i = i + 1;}while ( a[i] < b );The minimum number of variables required in the three address code of the above statement ?
2 votes
2 votes
0 answers
3
3 votes
3 votes
0 answers
4