CBSE Class 11 Computer Science
Question 24 of 80
Conditional and Looping Constructs — Question 7
Back to all questionsInfinite
Reason — The code will result in an infinite loop because the value of a is never modified within the loop. The condition a > 0 will always be true, causing the print(a) statement to be executed indefinitely without changing the value of a.