Thank you, Quadraxas.
Yes, this was possible. However, I was wondering if there was a more efficient way to do this.
And indeed there is by just comparing the pointers. It's an obvious thing actually. : )
int *arr = malloc(sizeof(int) * 100);
int *ptr = &arr[50];
if ((ptr >= &arr[0]) && (ptr <= &arr[99]))
printf("within bounds");
else
printf("out of bounds");