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");
Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy
oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de