edited by
1,255 views
2 votes
2 votes

Consider the intermediate code given below:

The number of nodes and edges in the control-flow graph constructed for the above code, respectively are X and Y. The value of X + Y is ________.

edited by

1 Answer

1 votes
1 votes
HERE THE TWO BASIC BLOCKS ARE FORMED SO THE TOTAL NUMBER OF NODES =#TOTAL NO. BASIC BLOCKS+START +END=4

TOTAL NUMBER OF EDGES=4

SO X=4 AND Y=4 X+Y=8 ANS

Related questions

1 votes
1 votes
1 answer
4
Markzuck asked Jan 8, 2019
760 views
someone please share detailed rules for this along with solution- would be of great help.and we usually dont take start and end state- arent they extra here? coz count co...