Skip to content

Beta · Data may be lost.Your data may be reset or lost.

GateBrew
← GATE CSE 2021 Set 1
Questions

Q50

NAT2 marksCompiler design

Consider the following CC code segment:

a = b + c;
e = a + 1;
d = b + c;
f = d + 1;
g = e + f;

In a compiler, this code segment is represented internally as a directed acyclic graph (DAG)\text{(DAG)}. The number of nodes in the DAG\text{DAG} is _____________

Sign in to save attempts.

The solution is hidden while you attempt this question. It opens once you check or show the answer.