Computer Science, asked by Anonymous, 9 months ago

plz answer this question
no spam answers​

Attachments:

Answers

Answered by IpDOD
2

i)

p = 1

Output: 2,3,3

ii)

p = 3

Output: 2,3,3

Because the break statement breaks the loop without allowing the compiler to reach to the third case in any condition.

and we know, If there are no break statement in a case all cases run up until it faces a break statement.

Similar questions