Reverse a number

Reverse a no.
I’m getting all the manually inputs correct even the boundary cases… Still getting wrong ans… for two test cases…!!
https://ide.codingblocks.com/#/s/12937

It’s the link of the code …

Can you find output from your code for input as 100000.
Also, the way you are finding the output (in your code) is not expected, you must calculate the reverse of a number and then print it.