in Compiler Design
1,155 views
6 votes
6 votes

Consider C program given below

main()
{
    a=a+b;
    c=a*c;
    d=c-d;
    a=c/d;
    printf("%d",a);
}

What will the minimum number of nodes and edge present in the DAG representation of the output of above C program?

in Compiler Design
by
1.2k views

4 Comments

both 8, 8 ?
2
2
@Sonam
Can u draw it plz :)
0
0

i

see this....

3
3

yes same as above 

4
4

Please log in or register to answer this question.