O
Old Wolf
For the following code:
int main(void)
{
short a[100], *ptr;
ptr = a + 100;
ptr -= 0;
}
a runtime bounds-checker I use gives an error "Pointer
underrun" on the ptr -= 0 line. Is there something wrong
with that statement?
int main(void)
{
short a[100], *ptr;
ptr = a + 100;
ptr -= 0;
}
a runtime bounds-checker I use gives an error "Pointer
underrun" on the ptr -= 0 line. Is there something wrong
with that statement?