79501227

Date: 2025-03-11 15:12:29
Score: 1.5
Natty:
Report link

In my opinion the first break statement executes only when if condition is correct that is b==1 and exits the switch case not while(1), as well as the second break statement also exits only the switch case not while(1).

So, the conclusion is that the while(1) loop will be continue running indefinitely or in infinite loop until the explicit break statement out of the switch case is written.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Akash Gautam