Invalide memory

Write here if you have problems with your C source code

Moderator: Board moderators

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

Invalide memory

Post by ranacse05 » Fri May 04, 2007 10:41 am

What is invalide Memory refarence?
I like to solve problems.

User avatar
little joey
Guru
Posts: 1080
Joined: Thu Dec 19, 2002 7:37 pm

Post by little joey » Fri May 04, 2007 11:05 am

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”