Let's say I have an
(int/char/..) array[10];
Can I access data outside of my programm (and by that hack or mess up stuff on my computer) using things like
array[-10000] = ...;
array[10] = ...;
array[1000] = ...;
Or is there some kind of limitation to a C-Program to keep Windows/other data secure? Because as far as I learned, you can access data outside of the array when inputting numbers bigger or smaller than the array allows it. How far out can you access data? I sometimes hear the windows-error sound when I run codes like the one above.