Help me in solving SYNMCQ40 problem

My issue

Shouldn’t it print 4 5 6 7 to infinity as the b is increased by one in each iteration in the while loop?

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

@perseus_5
Yeah that is why option 4th is correct.