edited by
643 views

1 Answer

Best answer
2 votes
2 votes
Here last statement will not be executed. The main motive of DAG is elimination of common sub-expression.So, By only first two statements, I think your answer is also 4 nodes.
selected by
Answer:

Related questions

0 votes
0 votes
3 answers
1
radha gogia asked Dec 9, 2015
1,329 views
In this one I am unable to follow in the above node marked as "-" ,it has two edges one upward and one downward for "+" node so then how to proceed with this ?
–2 votes
–2 votes
1 answer
2
2 votes
2 votes
1 answer
3
0 votes
0 votes
1 answer
4
phprashanthans asked Dec 3, 2017
851 views
What will be the DAG representation of a=b+c , b= b+c