Http://ide.codingblocks.com/#/s/13629

http://ide.codingblocks.com/#/s/13629

What’s wrong with this code?

Hy Preesh,
Can you please explain your code especially what are you doing in line 21

Sir, I found this question along with answer in a book. I tried to understand it but I couldn’t get it, so I tried to run it in ide but got unexpected output. So I approached you.