The Gateway to Computer Science Excellence
0 votes
142 views

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?

in Compiler Design by Active (2.6k points)
edited by | 142 views
0
array access is a three address code.

1 Answer

+1 vote
Best answer
A[i]=x;

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

Related questions

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,647 questions
56,492 answers
195,439 comments
100,711 users