0 0 votes I'm getting 4 nodes and 5 edges. But the answer given is : 6 nodes and 7 edges Compiler Design made-easy-test-series compiler-design code-optimization + – charul 1.4k views answer comment Share Follow Print See all 7 Comments 7 7 Comments reply Show 4 previous comments Anu007 commented Dec 6, 2017 reply Follow flag yes i corrected it , 0 0 replyShare Shubhanshu commented Dec 6, 2017 reply Follow flag @Anu007 The first instruction is a leader. The target of a conditional or an unconditional goto/jump instruction is a leader. The instruction that immediately follows a conditional goto/jump instruction is a leader. Ref:- https://en.wikipedia.org/wiki/Basic_block 0 0 replyShare Anu007 commented Dec 6, 2017 reply Follow flag yes you are missing start and end which should be taken. 0 0 replyShare Please log in or register to add a comment.