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? Compiler Design ace-test-series compiler-design intermediate-code + – Kai asked Nov 18, 2016 edited Mar 6, 2019 by akash.dinkar12 Kai 445 views answer comment Share Follow See 1 comment See all 1 1 comment reply thor commented Nov 18, 2016 reply Follow Share array access is a three address code. 0 votes 0 votes Please log in or register to add a comment.
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 Amitabh Tiwari 1 answered Nov 18, 2016 selected Nov 18, 2016 by Kai Amitabh Tiwari 1 comment Share Follow See all 0 reply Please log in or register to add a comment.