https://hack.codingblocks.com/contests/c/474/160
http://ide.codingblocks.com/#/s/13781
Test cases first and fourth failed.
Please debug it.
Sum of odd placed and even placed digits
Hi, Preesh
There is no need for reversing the number. But, if you want to go by this approach, think about test cases with a single digit.