Print the reverse of a number

Sir, the output is partially correct. I cannot figure out the mistake in my code. Please look into into it.
here is the link to my solution

@Lakshita2002 hey lakshita I think your code is not working for the large value.

@jaiskid
Sir, should I use data modifiers to rectify it…?

@Lakshita2002 yes lakshita.

@jaiskid
Sir, I have a doubt. Whenever I run this code on Code Blocks, it shows an error, even after I’ve used data modifiers. But when I run the ‘exact same’ code, with or without the modifiers, on Coding Blocks IDE, it runs perfectly. Why is this happening?

@Lakshita2002 hey lakshita can you please tell me more about the error.

@jaiskid
Sir, on Code Blocks IDE, my code is not working. It’s giving the wrong output even after I’ve used data modifiers. However, my code is giving the correct output whenever I run it on Coding Blocks IDE. Why is it that I’m getting correct output on one IDE and not on the other?

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.