Invalide memory

Write here if you have problems with your C source code

Moderator: Board moderators

Post Reply
New poster
Posts: 37
Joined: Wed Mar 28, 2007 5:08 pm
Location: Rajshahi

Invalide memory

Post by ranacse05 »

What is invalide Memory refarence?
I like to solve problems.
little joey
Posts: 1080
Joined: Thu Dec 19, 2002 7:37 pm

Post by little joey »

I guess you mean Invalid Memory Reference; well, it is what it says: accessing a part of memory that doesn't belong to your program.

It most often occurs when you make invalid pointer dereferences, like when accessing an array with an index which is out of bounds. For instance if you have an array int ar[100] and you try to access element ar[100], you can (but not always will!) get this error.
Post Reply

Return to “C”