Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
char *pointer = /* address in memory */
*pointer = 1;
According to the language standard, you have written this value to the memory location at this address.
According to the realities of modern programming - where did you get into? who gave you this memory? segfolt to you, not a bagel!...
Any value cannot be changed. Only those that belong to your process. This is the cornerstone of info-security for modern wasps.
For its memory - this is work with a pointer. You allocate a piece of memory for yourself through mallox / new and change what you need.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question