2 ms·
There are a lot of other ways for that to fail. You could scribble all over the executing code, or your runtime, or part of the operating system.... I don't t
by Dylan16807 12y ago
There are a lot of other ways for that to fail. You could scribble all over the executing code, or your runtime, or part of the operating system....
I don't think anyone would expect a "sane C" to let you scribble all over completely random pointers without harm. But if the pointer doesn't hit any bytes that are already in use, then "sane C" should return 0.