m_t_blind
Newbie level 5
I have two pointers, one int and one char type :
int *p1;
char *p2;
I do:
p2 = (char*)p1
to get p1 data in bytes.
If there are data in (8bit)adresses (p1)=0x10, (p1+1)=0x12,(p1+2)=0x14.
Can read this data in byte form later whith the p2 pointer ?
int *p1;
char *p2;
I do:
p2 = (char*)p1
to get p1 data in bytes.
If there are data in (8bit)adresses (p1)=0x10, (p1+1)=0x12,(p1+2)=0x14.
Can read this data in byte form later whith the p2 pointer ?