How come you can assign an address to an integer variable like this,the complier will not give an error. i always though you can only assign integer values to a integer vari
Because in any literal starting 0x is actually an integer. So it is allowed. An address is can sometimes be an integer.