Finding codingblock numbers problem

ques- https://hack.codingblocks.com/contests/c/548/100
code- https://ide.codingblocks.com/s/62271
plz tell my mistake.

Hi Lavish
For the string 23572, the correct output is 5 whereas your output is 4.

can you plz tell me what are those 5 outputs
2,3,5,7,?

Hi Lavish
The 5 outputs are 2, 3, 5, 7, 2.

Hey Lavish, as you are not responding to this thread, I am marking your doubt as Resolved for now. Re-open it if required.

Please mark your doubts as resolved in your course’s “ Ask Doubt ” section, when your doubt is resolved.