save value as Pointer address

Apr 1, 2015 at 6:16pm
Good Night/Morning CplusCplus
1
2
int i = 123456;
how can save Value i as address. Like: printf("Address:= %08X\n", i);





Apr 1, 2015 at 9:21pm
Apr 2, 2015 at 12:12pm
I'm late, I apologize

and my question is a completely Wrong :(

{
take value i as address without any format:
e.g.
0x00406262
reserve it 0x6262400
put it in array
arr[0] = 0x62
arr[1] = 0x62
arr[2] = 0x40
arr[3] = 0x00
}

thanks TheRabbitologist
Apr 8, 2015 at 4:46pm
Topic archived. No new replies allowed.