"int" is not binary, hexadecimal or decimal, it is just a place to store a number. The variables themselves do not have a specific representation of hex / dec / binary until you print them.
When you enter a number in your code, it has a base, but after it uses the base to process what you dialed, the base is discarded, and int just saves the number.
So the answer to your question is c * 10 (if you meant 10 dec)
Bill k
source share