edited by
932 views

2 Answers

5 votes
5 votes

Triples and quadruples are actually representations of intermediate code .

Triple is defined as :

Each instruction in triples presentation has three fields : op, arg1, and arg2.The results of respective sub-expressions are denoted by the position of expression. 

So the disadvantage which is evident is we can change the position of statements and hence inefficient from a code optimization point of view.

But the advantage is less space is required as compared to quadruple notation.

Hence C) should be the correct answer.

edited by
1 votes
1 votes
edited by

Related questions

0 votes
0 votes
1 answer
1
Utsav09 asked Jan 31, 2018
352 views
Consider the grammar given$S\rightarrow AA$$A\rightarrow aA / b$How many entries will be blank in the GOTO table for SR(0) items?
2 votes
2 votes
2 answers
4