Help me in solving SYNMCQ46 problem

My issue

Explain the difference between this problem and the previous one.

Learning course: Learn C++
Problem Link: CodeChef: Practical coding for everyone

The difference the printing the “c++” before and after the breaking statement.
which will differ the answer by 1 , in this answer would be 3 but in previous the answer would be 2.