0 votes 0 votes Identify the correct nodes and edges in the given intermediate code $i=1$ $t1=5*i$ $t2=4*t1$ $t3=t2$ $a[t3]=0$ $i=i+1$ if $i<15$ goto(2) $33$ $44$ $43$ $34$ Compiler Design nielit-2018 compiler-design intermediate-code + – Arjun asked Dec 7, 2018 • recategorized Oct 25, 2020 by Krithiga2101 Arjun 4.4k views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes so 4 NODES & 4 EDGES. OPTION B is correct refer:-> https://en.wikipedia.org/wiki/Control_flow_graph Asim Siddiqui 4 answered Feb 18, 2019 • edited Mar 31, 2021 by Asim Siddiqui 4 Asim Siddiqui 4 comment Share Follow See all 2 Comments See all 2 2 Comments reply JashanArora commented Mar 13, 2020 reply Follow Share Dude, this is so incorrect. The nodes are:- Start 1 2 to 7 End And edges will be 4. An edge from Start to 1. An edge from 1 to 2-7. A self-loop on 2-7 An edge from 2-7 to end. Option B is the answer. https://gateoverflow.in/8139/gate2015-2-29 5 votes 5 votes Asim Siddiqui 4 commented Mar 31, 2021 reply Follow Share Thankyou for pointing out the error. 0 votes 0 votes Please log in or register to add a comment.