I have a C array as follows:
unsigned long arr[10];
On my machine, unsigned long is 8 bytes. I have a situation where I write 4 bytes using arr[0], and then need to find the address of the next byte in the array.
void * ptr = arr[0] + (sizeof(unsigned long) / 2);
Will the above work ?