The number of basic blocks in following code. 1. a = 1 2. b = 1 3. if a > i…

The number of basic blocks in following code.

1. a = 1
2. b = 1
3. if a > i goto (9)
4. b = b*a
5. b = 10
6. c = b* a
7. a = c
8. goto (3)
9. exit

Answer: 4

Attempted by 20 students.

Show answer & explanation

Correct answer: 4

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…