2,558 views

2 Answers

1 votes
1 votes

((x+y)−((x+y)∗(x−y))) and ((x+y)∗(x−y)) expression needed to be added together at the end. So according to me, DAG should be following...

 

0 votes
0 votes

DAG for the expression ((x+y)−((x+y)∗(x−y)))+((x+y)∗(x−y))

 

Related questions

0 votes
0 votes
1 answer
1
admin asked Sep 7, 2019
4,831 views
Construct the DAG and identify the value numbers for the subexpressions of the following expressions, assuming $+$ associates from the left.$a+b+(a+b)$$a+b+a+b$$a+a+((a+a...
0 votes
0 votes
0 answers
3
admin asked Sep 7, 2019
586 views
Add to the translation of Fig. $6.19$ rules for the following productions:$E\rightarrow E_{1}\ast E_{2}$$E\rightarrow + E_{1}\:$(unary plus)
0 votes
0 votes
0 answers
4
admin asked Sep 7, 2019
1,235 views
Determine the types and relative addresses for the identifiers in the following sequence of declarations:float x; record { float x; float y; } p; record { int tag; float ...