What happens when you write code In C and your computer crashes. I run xp and i get that msg box that tells me this program has perforemed an illegal and must shut down.
I'm wonderign because I heard that In C when your code isn't tight, it can write to parts of the memory its not supposed to. Does this mean It can erase data in certain parts of your memory and if so which part. Can it overite parts already in use? Can you lose data. Stuff like that.
I know In linux your compiler will tell you it has a segmentation fault and won't allow you to do continue. So I was just wondering.
On the same note. Playing around with '\a' in a line of C code one time.
actaully seemed to changed the voulum prompt on my box. It never went away until i installed XP again.
So in closing. C is a dangerous language, but just how can it compromise your system???
Thanks