I need to insert any value let 10 at any given memory address like 2002. So can I directly write the value at any location, if yes than how?
But 2002 might not be a valid address location but if you have a valid location assign a value of the location to the pointer and then you can write anything there as normal pointer.