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
You can also use *(int *)(Address) = value as a construct to assigne a value to Address and use the answer by @Luchian Grigore
*(int *)(Address) = value
value
Address