Is there a way to set an integer variable at the absolute address 0x67a9
to the value
0xaa55
? The compiler is a pure ANSI compiler.
How to accomplish this?
This is a program related to embedded systems. As in there we can access a specific memory location.
Try this:
*((int*)0x67a9) = 0xaa55;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With