0x40 assigns 40 of 16 to the variable x,
It is the same as x = 64( 10 decimal assignment) and x = 080(8 decimal assignment). Are what we usually call 64.