In C and his brothers, the number with 0 on the front is octal, not decimal.
Therefore, your number is 1 * 8 2 (1 * 64 = 64) plus 6 * 8 1 (6 * 8 = 48) plus 4 * 8 0 (4 * 1 = 4) , which is 116 .
See here for a great treatise on which hexadecimal and octal are in C.
source share