1,169 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?

Please log in or register to answer this question.

Related questions

2 votes
2 votes
1 answer
1
1 votes
1 votes
2 answers
2
techbrk3 asked Nov 11, 2017
1,454 views
Consider the following code segment.x = u – t;y = x * v;x = y + w;y = t – z;y = x * y;
0 votes
0 votes
0 answers
3
Na462 asked Jun 8, 2018
1,670 views
How to solve Questions of DAG like :- https://gateoverflow.in/2068/gate2014-3-34My Solution:- (Please Point out what i am doing wrong)and please also do tell the proper w...
0 votes
0 votes
0 answers
4
Ankita87077 asked Oct 28, 2021
588 views
How Directed acyclic graph would be constructed for this instruction?b[j] = a ;