retagged by
797 views
3 votes
3 votes
The least number of temporary variables required to create a $3$ address code sequence for the statement $L= P + R$ is ________.
retagged by

1 Answer

1 votes
1 votes
The answer to this question is 0, IMHO.

Why would we introduce another temporary variable?
Answer:

Related questions

2 votes
2 votes
2 answers
2
Bikram asked Nov 25, 2016
694 views
Consider the following grammar:$S \rightarrow L = P \mid P$$L \rightarrow ^*P \mid id$$P \rightarrow L$The above grammar is:AmbiguousSLR(1)LALR(1)None of the above
3 votes
3 votes
1 answer
3
Bikram asked Nov 25, 2016
284 views
Which grammar causes recursive-descent parser to go into infinite loop?LL(1)Left recursive grammarRight recursive grammarGrammar with left factors
3 votes
3 votes
1 answer
4