Is is possible to directly store data into a memory location using C
?
To be more specific,
What if i want to store an integer data to a memory location starting from 00100000
. Is it possible ?
Is is possible to directly store data into a memory location using C
?
To be more specific,
What if i want to store an integer data to a memory location starting from 00100000
. Is it possible ?
Yes it is. You can do this: int*ptr = 00100000; And then do *(ptr) = 10; I highly recommend you don't do this however.