+ 4
When you begin an int with 0, it is a special literal format for octal number system (similar to binary but with 8 digits). 070 = 0*64 + 7*8 + 0*1 = 56 012 = 0*64 + 1*8 + 2*1 = 10
7th Nov 2022, 3:22 AM
Tibor Santa
Tibor Santa - avatar