Hi
In C , C++ , Objective C and related languages a 0 prefix signifies an octal literal constant, so 010 = 8 in decimal. 0 before the number means it's in octal notation. So since octal uses a base of 8 , 010 would equal 8 .
So put 10 instead of 010 and it will show 11