edited by
445 views
0 votes
0 votes

The answer given was D but isn't array access not a TAC as the following link suggests:

https://web.stanford.edu/class/archive/cs/cs143/cs143.1128/handouts/240%20TAC%20Examples.pdf

Can someone please clarify?

edited by

1 Answer

Best answer
1 votes
1 votes
A[i]=x;

x=A[i] both are valid TAC. Its one of the 7 standard three address code representations given in Aho,Ulman
selected by

Related questions

1 votes
1 votes
1 answer
2
Tushar Shinde asked Jan 12, 2016
588 views
A) a & b both are wrongB) a & b both are correctC) a is correct & b is wrongD) b is correct & a is wrongHow to solve such qstn??
2 votes
2 votes
1 answer
4
rahul sharma 5 asked Jan 24, 2018
1,222 views
Consider the intermediate code given below:The number of nodes and edges in the control-flow graph constructed for the above code, respectively are X and Y. The value of ...